Files
cameleer-saas/docker-compose.dev.yml
hsiegeln 4a7351d48e
All checks were successful
CI / build (push) Successful in 53s
CI / docker (push) Successful in 10s
fix: add cameleer-traefik network so deployed apps can reach server
Deployed app containers are put on the cameleer-traefik network by the
orchestrator, but the server and Traefik were only on the compose-internal
network. This caused UnresolvedAddressException when apps tried to connect
to cameleer3-server:8081 for agent registration and SSE.

- Add cameleer-traefik network with fixed name (no compose project prefix)
- Attach server to cameleer-traefik with DNS alias "cameleer3-server"
- Attach Traefik to cameleer-traefik for routing to deployed apps
- Add dev overrides for Docker orchestration (socket, volumes, env vars)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 22:37:51 +02:00

49 lines
1.2 KiB
YAML

# Development overrides: exposes ports for direct access
# Usage: docker compose -f docker-compose.yml -f docker-compose.dev.yml up
services:
postgres:
ports:
- "5432:5432"
logto:
ports:
- "3001:3001"
cameleer-saas:
ports:
- "8080:8080"
volumes:
- ./ui/dist:/app/static
environment:
SPRING_PROFILES_ACTIVE: dev
SPRING_WEB_RESOURCES_STATIC_LOCATIONS: file:/app/static/,classpath:/static/
cameleer3-server:
ports:
- "8081:8081"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- jardata:/data/jars
group_add:
- "0"
environment:
CAMELEER_RUNTIME_ENABLED: "true"
CAMELEER_JAR_STORAGE_PATH: /data/jars
CAMELEER_RUNTIME_BASE_IMAGE: gitea.siegeln.net/cameleer/cameleer-runtime-base:latest
CAMELEER_DOCKER_NETWORK: cameleer-saas_cameleer
CAMELEER_SERVER_URL: http://cameleer3-server:8081
CAMELEER_ROUTING_DOMAIN: ${PUBLIC_HOST:-localhost}
CAMELEER_ROUTING_MODE: path
CAMELEER_JAR_DOCKER_VOLUME: cameleer-saas_jardata
cameleer3-server-ui:
ports:
- "8082:80"
clickhouse:
ports:
- "8123:8123"
volumes:
jardata: