Initial commit

This commit is contained in:
2024-11-21 19:39:22 +01:00
commit 56d1075459
32 changed files with 10966 additions and 0 deletions

48
docker-compose.yml Normal file
View File

@@ -0,0 +1,48 @@
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:
build: ./patch_detector
restart: no
environment:
MONGO_USER: root
MONGO_PASS: password
match_collector:
build: ./match_collector
restart: no
environment:
MONGO_USER: root
MONGO_PASS: password
RIOT_API_KEY: RGAPI-f3f73fe9-d1e7-4672-9b66-a41c9e92b1f1
# restarter:
frontend:
build: ./frontend
restart: always
ports:
- 3000:3000
environment:
MONGO_USER: root
MONGO_PASS: password
volumes:
mongo_data: