-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 804 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 804 Bytes
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
services:
pfcontrol:
build:
context: .
dockerfile: Dockerfile
ports:
- "9900:9900"
environment:
- NODE_ENV=production
env_file:
- .env.production
volumes:
- ./logs:/app/logs
restart: unless-stopped
depends_on:
- postgres
- redis
networks:
- pfcontrol-network
postgres:
image: postgres:16
environment:
POSTGRES_USER: pfcontrol
POSTGRES_PASSWORD: pfcontrol
POSTGRES_DB: pfcontrol
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- pfcontrol-network
redis:
image: redis:7-alpine
restart: unless-stopped
networks:
- pfcontrol-network
volumes:
postgres_data:
networks:
pfcontrol-network:
driver: bridge