Updated docker-compose to use swarm port binding
All checks were successful
pipeline / build-and-push-images (push) Successful in 14s

This commit is contained in:
2024-11-23 21:10:06 +01:00
parent a3668f9d71
commit 913f6d6539

View File

@@ -13,7 +13,9 @@ services:
image: mongo-express
restart: always
ports:
- "8081:8081"
- target: 8081
published: 8081
mode: host
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: password
@@ -27,7 +29,7 @@ services:
environment:
MONGO_USER: root
MONGO_PASS: password
match_collector:
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
build: ./match_collector
@@ -43,7 +45,9 @@ services:
build: ./frontend
restart: always
ports:
- "3000:3000"
- target: 3000
published: 3000
mode: host
environment:
MONGO_USER: root
MONGO_PASS: password