steveternet/nuc/mort/docker-compose.yml

104 lines
2.6 KiB
YAML

version: "3.8"
services:
mort:
image: gitea.dudenhoeffer.casa/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}
- BOBROSS_ENDPOINT=${BOBROSS_ENDPOINT}
- BOBROSS_API_KEY=${BOBROSS_API_KEY}
- 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`)"
- 'traefik.http.routers.bobross-receiver-mort.middlewares=authelia@docker'
extra_hosts:
- "gitea.dudenhoeffer.casa: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"
mariadb:
image: mariadb
restart: always
container_name: mariadb
environment:
MARIADB_ROOT_PASSWORD: ${MARIADB_ROOT_PASSWORD}
ports:
- 3306:3306/tcp
volumes:
- mariadb_data:/var/lib/mysql
networks:
- default
adminer:
image: adminer
restart: always
container_name: adminer
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
labels:
- "traefik.enable=true"
- "traefik.http.routers.adminer.rule=Host(`adminer.${DOMAIN_ROOT}`)"
- "traefik.http.services.adminer.loadbalancer.server.port=8080"
- 'traefik.http.routers.adminer.middlewares=authelia@docker'
networks:
- web
- default
networks:
web:
external: true
volumes:
mariadb_data:
external: true