forked from simonlourson/blueprintnotincluded
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
39 lines (39 loc) · 1.02 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
version: '3'
services:
bpni:
image: racefpv/bpni:latest
container_name: bpni
build: .
environment:
- ENV_NAME=development
- BROWSE_INCREMENT=100
- DB_URI=mongodb://database:27017/blueprintnotincluded
- JWT_SECRET=anylongstringhere
- CAPTCHA_SITE=localhost
- CAPTCHA_SECRET=YOURCAPTCHASECRET
- SMTP_HOST=mailhog
- SMTP_PORT=1025
links:
- "mongodb-bpni:database"
- "mailhog:mailhog"
depends_on:
- mongodb-bpni
- mailhog
ports:
- "3000:3000"
mongodb-bpni:
image: mongo:4.2
container_name: mongodb-bpni
environment:
- "MONGO_INITDB_DATABASE=blueprintnotincluded"
volumes:
- ./mongo/docker-entrypoint-initdb.d/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
ports:
- "27017:27017"
mailhog:
image: mailhog/mailhog
container_name: mailhog-bpni
ports:
- "1025:1025"
- "8025:8025"