Adds CAMELEER_AUTH_TOKEN, CAMELEER_JWT_SECRET, CAMELEER_OIDC_AUDIENCE, CLICKHOUSE_URL to provisioned server containers. Also passes PUBLIC_HOST and PUBLIC_PROTOCOL to SaaS container in dev overlay so provisioner resolves the correct hostname instead of defaulting to localhost. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
62 lines
1.7 KiB
YAML
62 lines
1.7 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"
|
|
|
|
logto-bootstrap:
|
|
environment:
|
|
VENDOR_SEED_ENABLED: "true"
|
|
|
|
cameleer-saas:
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- ./ui/dist:/app/static
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
group_add:
|
|
- "0"
|
|
environment:
|
|
SPRING_PROFILES_ACTIVE: dev
|
|
SPRING_WEB_RESOURCES_STATIC_LOCATIONS: file:/app/static/,classpath:/static/
|
|
PUBLIC_HOST: ${PUBLIC_HOST:-localhost}
|
|
PUBLIC_PROTOCOL: ${PUBLIC_PROTOCOL:-https}
|
|
CAMELEER_SERVER_IMAGE: gitea.siegeln.net/cameleer/cameleer3-server:${VERSION:-latest}
|
|
CAMELEER_SERVER_UI_IMAGE: gitea.siegeln.net/cameleer/cameleer3-server-ui:${VERSION:-latest}
|
|
CAMELEER_NETWORK: cameleer-saas_cameleer
|
|
CAMELEER_TRAEFIK_NETWORK: cameleer-traefik
|
|
|
|
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:
|