umami/docker-compose.yml

27 lines
601 B
YAML

version: "3.9"
services:
caddy-gen:
image: "wemakeservices/caddy-gen:latest"
restart: always
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro # needs socket to read events
- ./caddy-info:/data/caddy # needs volume to back up certificates
ports:
- "80:80"
- "443:443"
depends_on:
- main
main:
build: .
ports:
- "3000:3000"
env_file:
- .env
labels:
virtual.host: "cappuccino.nisarg.io"
virtual.port: "3000"
virtual.tls-email: "me@nisarg.io"
volumes:
caddy-certificates:
driver: local