Updated docker-compose to use swarm port binding
All checks were successful
pipeline / build-and-push-images (push) Successful in 14s
All checks were successful
pipeline / build-and-push-images (push) Successful in 14s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user