steveternet/mort/docker-compose.yml

82 lines
1.7 KiB
YAML
Raw Normal View History

2023-12-24 18:54:49 +00:00
version: "3.8"
services:
mort:
image: gitea.dudenhoeffer.casa/steve/mort:latest
restart: unless-stopped
container_name: mort
command: ./mort --env /app/.env
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
volumes:
- .env:/app/.env
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
2023-12-24 18:54:49 +00:00
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}
volumes:
- mariadb_data:/var/lib/mysql
networks:
- default
2023-12-24 18:54:49 +00:00
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
2023-12-24 18:54:49 +00:00
networks:
web:
2023-12-24 18:54:49 +00:00
external: true
volumes:
mariadb_data:
external: true