uechi.io/docker-compose.production.yml

31 lines
706 B
YAML
Raw Normal View History

2021-06-20 13:11:53 +09:00
version: "3.0"
services:
web:
image: ghcr.io/uetchy/uechi.io
2022-01-18 17:02:40 +09:00
restart: unless-stopped
2021-06-20 13:11:53 +09:00
container_name: uechi.io
environment:
2022-02-05 13:41:25 +09:00
VIRTUAL_HOST: uechi.io,www.uechi.io
LETSENCRYPT_HOST: uechi.io,www.uechi.io
2022-01-18 17:02:25 +09:00
volumes:
2022-02-05 12:40:04 +09:00
- "./data:/var/www/html/_:ro"
labels:
com.centurylinklabs.watchtower.enable: "true"
2022-06-25 16:00:17 +09:00
2022-02-05 12:40:04 +09:00
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"
2021-06-20 13:11:53 +09:00
labels:
com.centurylinklabs.watchtower.enable: "true"
2022-01-18 17:02:25 +09:00
2021-06-20 13:11:53 +09:00
networks:
default:
name: webproxy
external: true