21 lines
796 B
YAML
21 lines
796 B
YAML
services:
|
|
orderpy-bridge:
|
|
build:
|
|
context: .
|
|
dockerfile: container-bridge/Dockerfile
|
|
container_name: orderpy-bridge
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080"
|
|
- "8088:8088"
|
|
volumes:
|
|
# Da das Compose-File eins weiter oben liegt,
|
|
# wird der 'data' Ordner nun dort erstellt, wo auch das Compose-File liegt.
|
|
- ./data:/app/data
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
environment:
|
|
- ORDERPY_KEY_PATH=/app/data/bridge_key.pem
|
|
# Lokale Dev: App (5173) und Platform (5174), jeweils localhost + 127.0.0.1 für Discovery/CORS
|
|
- ORDERPY_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173,http://localhost:5174,http://127.0.0.1:5174
|
|
- ORDERPY_CLOUD_URL=http://host.docker.internal:8001 |