steveternet/nuc/mort/docker-compose.yml

68 lines
2.0 KiB
YAML

version: "3.8"
services:
mort:
image: gitea.stevedudenhoeffer.com/steve/mort:latest
restart: unless-stopped
container_name: mort
command: ./mort
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}
- DATABASE_DSN=${DATABASE_DSN}
- WOLFRAM_APPID=${WOLFRAM_APPID}
- TENOR_API_KEY=${TENOR_API_KEY}
- TENOR_API_CLI=${TENOR_API_CLI}
- OPENAI_KEY=${OPENAI_KEY}
- GITEA_ENDPOINT=${GITEA_ENDPOINT}
- GITEA_TOKEN=${GITEA_TOKEN}
- GITEA_USER=${GITEA_USER}
- GITEA_PASS=${GITEA_PASS}
- WARHOL_ENDPOINT=${WARHOL_ENDPOINT}
- WARHOL_API_KEY=${WARHOL_API_KEY}
- WARHOL_WEBHOOK_ENDPOINT=${WARHOL_WEBHOOK_ENDPOINT}
- HUGGINGFACE_TOKEN=${HUGGINGFACE_TOKEN}
- TODOIST_TOKEN=${TODOIST_TOKEN}
- TVDB_API_KEY=${TVDB_API_KEY}
- TMDB_API_KEY=${TMDB_API_KEY}
- TMDB_READ_ACCESS_TOKEN=${TMDB_READ_ACCESS_TOKEN}
- OVERSEERR_ENDPOINT=${OVERSEERR_ENDPOINT}
- PLEX_ENDPOINT=${PLEX_ENDPOINT}
- PLEX_TOKEN=${PLEX_TOKEN}
- OPENWEATHERMAP_API_KEY=${OPENWEATHERMAP_API_KEY}
labels:
- "traefik.enable=true"
- "traefik.http.services.bobross-receiver-mort.loadbalancer.server.port=8080"
- "traefik.http.routers.bobross-receiver-mort.rule=Host(`bobross-receiver-mort.dudenhoeffer.casa`) || Host(`mort.dudenhoeffer.casa`)"
- 'traefik.http.routers.bobross-receiver-mort.middlewares=authelia@docker'
extra_hosts:
- "gitea.dudenhoeffer.casa:192.168.0.197"
- "gitea.stevedudenhoeffer.com:192.168.0.197"
networks:
- web
- default
tunnel:
image: cloudflare/cloudflared:latest
command: tunnel --no-autoupdate run --token ${CLOUDFLARE_TUNNEL_TOKEN}
restart: unless-stopped
environment:
- CLOUDFLARE_TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
redis:
container_name: redis
image: redis:latest
labels:
- "traefik.enabled=false"
networks:
web:
external: true