Forever was used instead of nodemon, variables were edited.

This commit is contained in:
2024-03-08 14:41:29 +03:00
parent 833df97a93
commit 56370e56c7

View File

@@ -22,9 +22,7 @@ services:
container_name: mongo container_name: mongo
image: mongo:4.2.5 image: mongo:4.2.5
restart: always restart: always
environment: env_file: .env-mongo
- MONGO_INITDB_ROOT_USERNAME=admin
- MONGO_INITDB_ROOT_PASSWORD=anTis**664+..12895
ports: ["27017:27017"] ports: ["27017:27017"]
networks: networks:
- smarthome - smarthome
@@ -38,14 +36,9 @@ services:
container_name: mongo-express container_name: mongo-express
image: mongo-express image: mongo-express
restart: always restart: always
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=admin
- ME_CONFIG_MONGODB_ADMINPASSWORD=anTis**664+..12895
- ME_CONFIG_MONGODB_SERVER=mongo
- ME_CONFIG_BASICAUTH_USERNAME=wisecolt
- ME_CONFIG_BASICAUTH_PASSWORD=4noQ93GMQ6hJPgFdovjW
ports: ports:
- "8081:8081" - "8081:8081"
env_file: .env-mongo
depends_on: depends_on:
- mongo - mongo
networks: networks: