forked from formio/formio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (37 loc) · 783 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (37 loc) · 783 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
27
28
29
30
31
32
33
34
35
36
37
services:
mongo-ce:
image: mongo
container_name: formio-mongo-ce
restart: unless-stopped
volumes:
- "./data/db:/data/db"
environment:
- MONGO_INITDB_ROOT_USERNAME
- MONGO_INITDB_ROOT_PASSWOR
networks:
- formio-ce
formio-ce:
image: formio/formio:rc
container_name: formio-ce
restart: always
ports:
- "3001:3001"
environment:
DEBUG: formio:*
ROOT_EMAIL: admin@example.com
ROOT_PASSWORD: CHANGEME
NODE_CONFIG: |
{
"mongo": "mongodb://mongo-ce:27017/formio-ce",
"port": 3001,
"jwt": {
"secret": "CHANGEME"
}
}
networks:
- formio-ce
depends_on:
- mongo-ce
networks:
formio-ce:
driver: bridge