app-store/apps/dailytxt/docker-compose.yml

28 lines
842 B
YAML
Raw Normal View History

2023-03-20 20:53:46 +00:00
version: '3.7'
2023-03-12 17:05:19 +00:00
services:
dailytxt:
image: phitux/dailytxt:1.0.12
container_name: dailytxt
2023-03-20 20:53:46 +00:00
restart: unless-stopped
2023-03-12 17:05:19 +00:00
environment:
- PORT=8765
- SECRET_KEY=${DAILYTXT_SECRET_KEY}
- ALLOW_REGISTRATION=${DAILYTXT_ALLOW_REGISTRATION}
- DATA_INDENT=2
- JWT_EXP_DAYS=60
- ENABLE_UPDATE_CHECK=True
ports:
2023-03-20 20:53:46 +00:00
- ${APP_PORT}:8765
2023-03-12 17:05:19 +00:00
volumes:
2023-03-20 20:53:46 +00:00
- '${APP_DATA_DIR}/data/dailytxt:/app/data/'
2023-03-12 17:05:19 +00:00
networks:
- tipi_main_network
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.dailytxt.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.dailytxt.entrypoints: websecure
traefik.http.routers.dailytxt.service: dailytxt
traefik.http.routers.dailytxt.tls.certresolver: myresolver
traefik.http.services.dailytxt.loadbalancer.server.port: 8765