mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-01-10 20:17:21 +00:00
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
services:
|
|
mongo:
|
|
hostname: mongo
|
|
image: mongo:8.2.3
|
|
restart: always
|
|
user: root:root
|
|
volumes:
|
|
- bpmongo_data:/data/db:Z
|
|
- bpmongo_config:/data/configdb:Z
|
|
env_file: .env
|
|
|
|
patch_detector:
|
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:ed5474971776d2e56fb12910961d49e13bbf2591
|
|
build: ./patch_detector
|
|
restart: "no"
|
|
deploy:
|
|
restart_policy:
|
|
condition: any
|
|
delay: '0'
|
|
window: 10s
|
|
env_file: .env
|
|
|
|
|
|
match_collector:
|
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:ed5474971776d2e56fb12910961d49e13bbf2591
|
|
build: ./match_collector
|
|
restart: "no"
|
|
deploy:
|
|
restart_policy:
|
|
condition: any
|
|
delay: '0'
|
|
window: 20s
|
|
env_file: .env
|
|
|
|
frontend:
|
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:ed5474971776d2e56fb12910961d49e13bbf2591
|
|
build: ./frontend
|
|
restart: always
|
|
networks:
|
|
- default
|
|
- proxy
|
|
ports:
|
|
- "3000"
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.frontend.rule=Host(`buildpath.win`)"
|
|
- "traefik.http.services.frontend.loadbalancer.server.port=3000"
|
|
env_file: .env
|
|
|
|
volumes:
|
|
bpmongo_data:
|
|
bpmongo_config:
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
name: proxy
|