-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
37 lines (36 loc) · 1.06 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
version: "3"
services:
nodebb:
container_name: nodebbProduction
restart: always
build: .
# ports:
# - "4567:4567"
expose:
- "4567"
links:
- mongo
mongo:
container_name: mongoNodebb
image: mongo
volumes:
- ./install/data:/data/db
expose:
- "27017"
# ports:
# - "27017:27017"
nginx:
container_name: nginxProduction
image: nginx:latest
volumes:
- ./install/nginx.conf:/etc/nginx/nginx.conf
- ./install/sites-enabled:/etc/nginx/sites-enabled
- ./install/letsencrypt-site:/var/www/bbs.localbitcoin.co.nz/html
- ./install/dh-param/dhparam-2048.pem:/etc/ssl/certs/dhparam-2048.pem
- /docker-volumes/etc/letsencrypt/live/bbs.localbitcoin.co.nz/fullchain.pem:/etc/letsencrypt/live/bbs.localbitcoin.co.nz/fullchain.pem
- /docker-volumes/etc/letsencrypt/live/bbs.localbitcoin.co.nz/privkey.pem:/etc/letsencrypt/live/bbs.localbitcoin.co.nz/privkey.pem
- /docker-volumes/data/letsencrypt:/data/letsencrypt
ports:
- 80:80
- 443:443
tty: true