-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
73 lines (67 loc) · 1.96 KB
/
compose.yml
File metadata and controls
73 lines (67 loc) · 1.96 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3.8'
services:
postgres:
image: postgres:latest
restart: unless-stopped
environment:
- POSTGRES_DB=beemonitor
- POSTGRES_USER=beemonitor
- POSTGRES_PASSWORD=beemonitor
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
beemonitor-network:
ipv4_address: 192.168.0.2
# beemonitor-backend:
# image: edsonisaac/beemonitor-backend:latest
# restart: unless-stopped
# depends_on:
# - postgres
# environment:
# - POSTGRES_URL=jdbc:postgresql://192.168.0.2:5432/beemonitor
# - POSTGRES_USER=beemonitor
# - POSTGRES_PASSWORD=beemonitor
# ports:
# - "8080:8080"
# volumes:
# - ./data:/data
# networks:
# beemonitor-network:
# ipv4_address: 192.168.0.3
# beemonitor-frontend:
# image: edsonisaac/beemonitor-frontend:latest
# restart: unless-stopped
# depends_on:
# - postgres
# - beemonitor-backend
# networks:
# beemonitor-network:
# ipv4_address: 192.168.0.4
# nginx-proxy-manager:
# image: 'jc21/nginx-proxy-manager:latest'
# container_name: nginx-proxy-manager
# restart: unless-stopped
# depends_on:
# - postgres
# - beemonitor-backend
# - beemonitor-frontend
# ports:
# - '80:80'
# - '81:81'
# - '443:443'
# volumes:
# - ./data:/data
# - ./letsencrypt:/etc/letsencrypt
# networks:
# beemonitor-network:
# ipv4_address: 192.168.0.5
volumes:
postgres-data:
networks:
beemonitor-network:
driver: bridge
ipam:
config:
- subnet: 192.168.0.0/24