KickerBot/docker-compose.yml

34 lines
536 B
YAML
Raw Normal View History

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:
- bot.env
2021-12-07 01:18:44 +03:00
mongo:
image: mongo
restart: always
env_file:
- mongo.env
2021-12-07 01:18:44 +03:00
ports:
2023-09-06 22:26:53 +03:00
- ${HOST}:28003:27017
volumes:
- mongodata:/data/db
- mongoconfig:/data/configdb
2021-12-07 01:18:44 +03:00
mongo-express:
image: mongo-express
restart: always
ports:
2023-09-06 22:26:53 +03:00
- ${HOST}:8090:8081
env_file:
- mongo.env
volumes:
mongodata:
2022-11-09 02:02:12 +03:00
mongoconfig: