-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
26 lines (26 loc) · 837 Bytes
/
docker-compose.yml
File metadata and controls
26 lines (26 loc) · 837 Bytes
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
version: '3.7'
services:
dicecloud-db:
container_name: dicecloud-db
image: mongo:latest
command:
- --storageEngine=wiredTiger
volumes:
- ./dicecloud/data/db:/data/db
environment:
- MONGO_INITDB_ROOT_USERNAME=meteor
- MONGO_INITDB_ROOT_PASSWORD=meteor
dicecloud:
container_name: dicecloud
build:
context: ./
environment:
#update ROOT_URL, PORT, and MAIL_URL for your environment
- ROOT_URL=http://localhost:3000
- MONGO_URL=mongodb://meteor:meteor@dicecloud-db:27017
- PORT=3000
- NODE_ENV=production
- METEOR_SETTINGS={"public":{"environment":"production","disablePatreon":true}}
- MAIL_URL=smtp://EMAIL:PASSWORD@SERVER:PORT
ports:
- '3000:3000' #The internal port should match the port set in the environmental variables