-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
54 lines (49 loc) · 1.03 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3.3'
services:
node:
build:
context: ./node
args:
- NODE_VERSION=latest
- PROJECT_PATH=/opt/app/
- NODE_ENV=production
- PORT=3000
- YARN=false
volumes:
- ../:/opt/app
entrypoint: run-nodock "npm start"
tty: true
postgresql:
build:
context: ./postgresql
args:
- POSTGRES_USER=beam
- POSTGRES_PASSWORD=beambadaboum
- POSTGRES_DB=beam
volumes:
- ./data/postgresql/:/var/lib/postgresql
expose:
- "5432"
nginx:
build:
context: ./nginx
args:
- WEB_REVERSE_PROXY_PORT=3000
- WEB_SSL=false
- SELF_SIGNED=false
- NO_DEFAULT=false
volumes:
- ./data/logs/nginx/:/var/log/nginx
- ./certbot/certs/:/var/certs
ports:
- "80:80"
- "443:443"
tty: true
certbot:
build:
context: ./.compose/certbot
links:
- nginx
volumes:
- ./certbot/letsencrypt/:/var/www/letsencrypt
- ./certbot/certs/:/var/certs