diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5e4a3cb --- /dev/null +++ b/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: {} \ No newline at end of file