38 lines
866 B
YAML
38 lines
866 B
YAML
# Development and local integration-test overlay. Use with compose.yaml; it is
|
|
# deliberately not a production reverse-proxy configuration.
|
|
services:
|
|
dogama:
|
|
build:
|
|
context: .
|
|
target: dogama
|
|
pull_policy: build
|
|
ports: !reset []
|
|
|
|
agent:
|
|
build:
|
|
context: .
|
|
target: dogama-agent
|
|
pull_policy: build
|
|
|
|
caddy:
|
|
image: caddy:2.10.2-alpine@sha256:4c6e91c6ed0e2fa03efd5b44747b625fec79bc9cd06ac5235a779726618e530d
|
|
restart: unless-stopped
|
|
read_only: true
|
|
ports:
|
|
- "${DOGAMA_HTTPS_PORT:-443}:8443"
|
|
volumes:
|
|
- ./deploy/dev/Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
tmpfs:
|
|
- /tmp:rw,noexec,nosuid,nodev,size=16m
|
|
networks:
|
|
- dogama
|
|
depends_on:
|
|
dogama:
|
|
condition: service_started
|
|
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|