Docker compose for docker stack
All checks were successful
pipeline / build-and-push-images (push) Successful in 24s
All checks were successful
pipeline / build-and-push-images (push) Successful in 24s
This commit is contained in:
@@ -13,23 +13,25 @@ services:
|
|||||||
image: mongo-express
|
image: mongo-express
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8081:8081
|
- "8081:8081"
|
||||||
environment:
|
environment:
|
||||||
ME_CONFIG_MONGODB_ADMINUSERNAME: root
|
ME_CONFIG_MONGODB_ADMINUSERNAME: root
|
||||||
ME_CONFIG_MONGODB_ADMINPASSWORD: password
|
ME_CONFIG_MONGODB_ADMINPASSWORD: password
|
||||||
ME_CONFIG_MONGODB_URL: mongodb://root:password@mongo:27017/
|
ME_CONFIG_MONGODB_URL: mongodb://root:password@mongo:27017/
|
||||||
ME_CONFIG_BASICAUTH: false
|
ME_CONFIG_BASICAUTH: "false"
|
||||||
|
|
||||||
patch_detector:
|
patch_detector:
|
||||||
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-patch_detector:latest
|
||||||
build: ./patch_detector
|
build: ./patch_detector
|
||||||
restart: no
|
restart: "no"
|
||||||
environment:
|
environment:
|
||||||
MONGO_USER: root
|
MONGO_USER: root
|
||||||
MONGO_PASS: password
|
MONGO_PASS: password
|
||||||
|
|
||||||
match_collector:
|
match_collector:
|
||||||
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:latest
|
||||||
build: ./match_collector
|
build: ./match_collector
|
||||||
restart: no
|
restart: "no"
|
||||||
environment:
|
environment:
|
||||||
MONGO_USER: root
|
MONGO_USER: root
|
||||||
MONGO_PASS: password
|
MONGO_PASS: password
|
||||||
@@ -37,10 +39,11 @@ services:
|
|||||||
# restarter:
|
# restarter:
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:latest
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
MONGO_USER: root
|
MONGO_USER: root
|
||||||
MONGO_PASS: password
|
MONGO_PASS: password
|
||||||
|
|||||||
@@ -9,4 +9,5 @@ RUN npm run build
|
|||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
COPY --from=build /app/.output /app/.output
|
COPY --from=build /app/.output /app/.output
|
||||||
|
EXPOSE 3000
|
||||||
CMD ["node", ".output/server/index.mjs"]
|
CMD ["node", ".output/server/index.mjs"]
|
||||||
Reference in New Issue
Block a user