forked from blueprintnotincluded/blueprintnotincluded
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (40 loc) · 1.11 KB
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
# Production Docker Compose - uses pre-built images
services:
app:
image: racefpv/bpni:latest
container_name: bpni-prod
environment:
- ENV_NAME=development
- BROWSE_INCREMENT=100
- DB_URI=mongodb://database:27017/blueprintnotincluded
- JWT_SECRET=anylongstringhere
- CAPTCHA_SITE=localhost
- CAPTCHA_SECRET=YOURCAPTCHASECRET
- MAILJET_API_KEY=produseonly
- MAILJET_SECRET_KEY=produseonly
- MAILJET_FROM_EMAIL=help@blueprintnotincluded.org
- SMTP_HOST=mailhog
- SMTP_PORT=1025
depends_on:
- database
- mailhog
ports:
- "3000:3000"
database:
image: mongo:4.2
container_name: bpni-mongodb
environment:
- "MONGO_INITDB_DATABASE=blueprintnotincluded"
volumes:
- ./mongo/docker-entrypoint-initdb.d/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
- mongodb_data:/data/db
ports:
- "27017:27017"
mailhog:
image: axllent/mailpit
container_name: bpni-mailhog
ports:
- "1025:1025"
- "8025:8025"
volumes:
mongodb_data: