add mongo docker

This commit is contained in:
2023-01-10 21:58:12 +01:00
parent f36366a319
commit f7622d10a6
4 changed files with 31 additions and 15 deletions

View File

@@ -11,6 +11,14 @@ services:
- PGDATA=/var/lib/postgresql/data/pgdata
ports:
- "54321:5432"
mongo:
image: mongo
env_file:
- .env
ports:
- "28017:27017"
redis:
image: redis/redis-stack-server:latest

View File

@@ -1,3 +1,6 @@
POSTGRES_PASSWORD={{ postgres_password }}
POSTGRES_USER={{ postgres_user }}
POSTGRES_DB={{ postgres_db }}
POSTGRES_DB={{ postgres_db }}
MONGO_INITDB_ROOT_USERNAME={{ mongo_user }}
MONGO_INITDB_ROOT_PASSWORD={{ mongo_password }}