forked from DiscordGIR/Bloo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (38 loc) · 1.14 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
version: '3.4'
services:
bloo:
container_name: bloo
build:
context: .
dockerfile: Dockerfile.production
network: host
restart: always
volumes:
- ./bloo_ai.txt:/usr/src/app/bloo_ai.txt
network_mode: host # comment this out if you want to use dockerized mongo
# also, if you want to use dockerized Mongo you need to change DB_HOST to "mongo" in .env
#####
##### uncomment the following to use dockerized mongo
# depends_on:
# - mongo
# mongo:
# image: mongo
# restart: unless-stopped
# environment:
# - MONGO_DATA_DIR=/data/db
# - MONGO_LOG_DIR=/dev/null
# volumes:
# - ./mongo_data:/data/db
# #### This is optional if you want a GUI to manage your database
# #### Only applicable with Dockerized mongo
# #### If you run this, USE A FIREWALL or the database will be accessible from the internet
# ### The database is running in unauthenticated mode.
# mongo-express:
# image: mongo-express
# restart: unless-stopped
# depends_on:
# - mongo
# ports:
# - 8081:8081
# environment:
# ME_CONFIG_MONGODB_URL: mongodb://mongo:27017/