diff --git a/docker-compose.yml b/docker-compose.yml index 22a4b35..b58c4b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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