Files
buildpath/docker-compose.yml
vhaudiquet a3668f9d71
All checks were successful
pipeline / build-and-push-images (push) Successful in 24s
Docker compose for docker stack
2024-11-23 20:50:05 +01:00

51 lines
1.2 KiB
YAML

services:
mongo:
hostname: mongo
image: mongo:latest
restart: always
volumes:
- mongo_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: password
mongo-express:
image: mongo-express
restart: always
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: password
ME_CONFIG_MONGODB_URL: mongodb://root:password@mongo:27017/
ME_CONFIG_BASICAUTH: "false"
patch_detector:
image: git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:latest
build: ./patch_detector
restart: "no"
environment:
MONGO_USER: root
MONGO_PASS: password
match_collector:
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
build: ./match_collector
restart: "no"
environment:
MONGO_USER: root
MONGO_PASS: password
RIOT_API_KEY: ${RIOT_API_KEY}
# restarter:
frontend:
image: git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:latest
build: ./frontend
restart: always
ports:
- "3000:3000"
environment:
MONGO_USER: root
MONGO_PASS: password
volumes:
mongo_data: