forked from DiscordGIR/GIRRewrite
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
41 lines (36 loc) · 1.13 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
version: '3.4'
services:
gir:
container_name: gir
build:
context: .
dockerfile: Dockerfile.production
network: host # comment this out if you want to use dockerized mongo
restart: always
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/