-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
61 lines (54 loc) · 1.21 KB
/
docker-compose.prod.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
55
56
57
58
59
60
61
version: '3'
services:
refuapp-frontend:
build:
args:
- BACKEND_URL=${FRONTEND_API_URL}
- SENSORS_BACKEND_URL=${FRONTEND_SENSORS_API_URL}
refuapp-backend:
volumes:
- static_files:/app/static
refuapp-admin-frontend:
build:
args:
- BACKEND_URL=${FRONTEND_API_URL}
refuapp-supervisor-frontend:
build:
args:
- BACKEND_URL=${FRONTEND_API_URL}
postgres:
volumes:
- postgres_data:/var/lib/postgresql/data
nginxproxymanager:
image: 'jc21/nginx-proxy-manager:latest'
container_name: nginxproxymanager
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./proxy-manager/data:/data
- ./proxy-manager/letsencrypt:/etc/letsencrypt
sensors_db:
volumes:
- postgres_sensor_data:/var/lib/postgresql/data
volumes:
postgres_data:
driver: local
driver_opts:
type: none
device: /home/ferran/data
o: bind
postgres_sensor_data:
driver: local
driver_opts:
type: none
device: /home/ferran/data-sensors
o: bind
static_files:
driver: local
driver_opts:
type: none
device: /home/ferran/static
o: bind