Browse Source

add docker compose

master
Jimmy 5 months ago
parent
commit
993ddd65ce
  1. 27
      docker-compose.yml

27
docker-compose.yml

@ -0,0 +1,27 @@
version: '3.7'
services:
caddy:
image: lucaslorentz/caddy-docker-proxy:ci-alpine
ports:
- 80:80
- 443:443
labels: # Global options
caddy.email: ${EMAIL}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_data:/data
networks:
- caddy
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "1m"
networks:
caddy:
name: caddy
volumes:
caddy_data: {}
Loading…
Cancel
Save