uechi.io/docker-compose.production.yml
Yasuaki Uechi 4ee56900e9
All checks were successful
continuous-integration/drone/push Build is passing
update
2022-03-04 00:43:18 +09:00

30 lines
705 B
YAML

version: "3.0"
services:
web:
image: ghcr.io/uetchy/uechi.io
restart: unless-stopped
container_name: uechi.io
environment:
VIRTUAL_HOST: uechi.io,www.uechi.io
LETSENCRYPT_HOST: uechi.io,www.uechi.io
volumes:
- "./data:/var/www/html/_:ro"
labels:
com.centurylinklabs.watchtower.enable: "true"
cron:
image: ghcr.io/uetchy/uechi.io
command: /usr/sbin/crond -d 8 -f
restart: unless-stopped
container_name: uechi.io-cron
volumes:
- "./data:/var/www/html/_"
- "./periodic/daily:/etc/periodic/daily:ro"
labels:
com.centurylinklabs.watchtower.enable: "true"
networks:
default:
name: webproxy
external: true