production/docker/taiko-web/docker-compose.yml

48 lines
1.2 KiB
YAML
Raw Permalink Normal View History

2024-06-13 16:15:29 +00:00
services:
taiko-web-mongo:
volumes:
- ./mongo:/data/db
container_name: taiko-mongo
image: mongo:latest
#networks:
#- default
taiko-web-redis:
volumes:
- ./redis:/data
image: redis:latest
#networks:
#- default
taiko-web:
volumes:
- ./songs:/app/public/songs
# debug
#ports:
#- 9999:8000
#container_name: taiko-web
build:
context: ../../repo/taiko-web
#image: taiko-web:latest
networks:
- default
- traefik
labels:
- traefik.enable=true
2024-06-14 10:52:05 +00:00
- traefik.http.routers.R3.rule=Host(`taikoapp.uk`)
- traefik.http.routers.R3.entryPoints=websecure
- traefik.http.routers.R3.tls=true
- traefik.http.routers.R3.tls.certResolver=letsencrypt
2024-06-14 11:15:49 +00:00
- traefik.http.routers.R3.tls.domains[0].main=taikoapp.uk
- traefik.http.routers.R3.tls.domains[0].sans=*.taikoapp.uk
2024-06-14 10:52:05 +00:00
- traefik.http.routers.R3.service=S3
- traefik.http.services.S3.loadbalancer.server.port=8000
2024-06-13 16:15:29 +00:00
environment:
- TAIKO_WEB_MONGO_HOST=taiko-web-mongo
- TAIKO_WEB_REDIS_HOST=taiko-web-redis
2025-01-24 03:15:16 +00:00
- REDIS_URI=redis://taiko-web-redis:6379/
2024-06-13 16:15:29 +00:00
networks:
#default:
traefik:
external: true
name: traefik