Files
KonCad/docker-compose.yml
T

31 lines
640 B
YAML

services:
caddy:
image: caddy:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
# Shared Caddyfile directory — both services mount the same path
- ./caddy:/etc/caddy
- caddy_data:/data
- caddy_config:/config
# NOTE: Your Caddyfile must contain `admin :2019` in the global block
# for KonCad to communicate with Caddy. See caddy/Caddyfile.example
koncad:
build: .
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./caddy:/etc/caddy
env_file: .env
depends_on:
- caddy
volumes:
caddy_data:
caddy_config: