27 lines
671 B
YAML
27 lines
671 B
YAML
services:
|
|
|
|
koncad:
|
|
image: git.d4nn13.de/d4nn13/koncad:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:80"
|
|
volumes:
|
|
- koncad_data:/data
|
|
- /opt/caddy:/caddy:ro
|
|
environment:
|
|
# Caddy admin API reachable on the shared Docker network.
|
|
CADDY_ADMIN_URL: http://caddy:2019
|
|
# Read-only source Caddyfile from your existing Caddy setup.
|
|
CADDYFILE_IMPORT: /caddy/Caddyfile
|
|
networks:
|
|
# Join the same external Docker network as your Caddy container.
|
|
- caddy-network
|
|
|
|
volumes:
|
|
koncad_data:
|
|
|
|
networks:
|
|
caddy-network:
|
|
# Use the pre-existing network your Caddy container already uses.
|
|
external: true
|