add mongo docker
This commit is contained in:
@@ -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
|
||||
|
@@ -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 }}
|
Reference in New Issue
Block a user