2021-12-07 01:18:44 +03:00
|
|
|
# Use root/example as user/password credentials
|
|
|
|
version: '3.1'
|
|
|
|
|
|
|
|
services:
|
|
|
|
bot:
|
|
|
|
build: .
|
|
|
|
restart: always
|
|
|
|
depends_on:
|
|
|
|
- mongo
|
|
|
|
env_file:
|
2021-12-07 10:30:23 +03:00
|
|
|
- bot.env
|
2021-12-07 01:18:44 +03:00
|
|
|
mongo:
|
|
|
|
image: mongo
|
|
|
|
restart: always
|
2021-12-07 10:30:23 +03:00
|
|
|
env_file:
|
|
|
|
- mongo.env
|
2021-12-07 01:18:44 +03:00
|
|
|
ports:
|
|
|
|
- 127.0.0.1:28001:27017
|
|
|
|
|
|
|
|
mongo-express:
|
|
|
|
image: mongo-express
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:8089:8081
|
2021-12-07 10:30:23 +03:00
|
|
|
env_file:
|
|
|
|
- mongo.env
|