update 04.03.24

This commit is contained in:
ZennDev1337 2024-03-04 13:16:45 +01:00
parent eab7fea353
commit 5b26df3e4c
10 changed files with 35 additions and 6 deletions

View file

@ -2,11 +2,19 @@
version: "3.1"
services:
backend:
build: ./src
restart: always
ports:
- "3333:3333"
environment:
- MONGO_URL=mongodb://root:root12345@mongo:27017/
depends_on:
mongo:
condition: service_started
mongo:
image: mongo
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root12345
@ -15,7 +23,7 @@ services:
image: mongo-express
restart: always
ports:
- 8081:8081
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root12345