You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
719 B
32 lines
719 B
4 years ago
|
version: "3.3"
|
||
|
services:
|
||
|
mongo:
|
||
|
image: mongo
|
||
|
restart: always
|
||
|
environment:
|
||
|
MONGO_INITDB_ROOT_USERNAME: xcoder
|
||
|
MONGO_INITDB_ROOT_PASSWORD: 4dun4710
|
||
|
volumes:
|
||
|
- ./mongo_data_dir/:/data/db/
|
||
|
mongo-express:
|
||
|
image: mongo-express
|
||
|
restart: always
|
||
|
ports:
|
||
|
- 8081:8081
|
||
|
environment:
|
||
|
ME_CONFIG_MONGODB_ADMINUSERNAME: xcoder
|
||
|
ME_CONFIG_MONGODB_ADMINPASSWORD: 4dun4710
|
||
|
ME_CONFIG_OPTIONS_EDITORTHEME: ambiance
|
||
|
ME_CONFIG_BASICAUTH_USERNAME: xcoder
|
||
|
ME_CONFIG_BASICAUTH_PASSWORD: 4dun4710
|
||
|
web:
|
||
|
build: .
|
||
|
|
||
|
ports:
|
||
|
- "5000:5000"
|
||
|
environment:
|
||
|
ADUNATIO_PRIV_KEY: /code/privkey.pem
|
||
|
FLASK_DEBUG: 1
|
||
|
volumes:
|
||
|
- .:/code
|