-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.setup.yaml
More file actions
49 lines (46 loc) · 1.17 KB
/
docker-compose.setup.yaml
File metadata and controls
49 lines (46 loc) · 1.17 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
services:
core:
restart: unless-stopped
image: ghcr.io/defguard/defguard:${DEFGUARD_CORE_TAG:?DEFGUARD_CORE_TAG is required}
env_file: .env
environment:
DEFGUARD_DB_HOST: db
DEFGUARD_DB_PORT: 5432
DEFGUARD_ADOPT_EDGE: "edge:50051"
DEFGUARD_ADOPT_GATEWAY: "gateway:50066"
depends_on:
- db
- edge
- gateway
ports:
- "8000:8000"
- "8443:443"
edge:
restart: unless-stopped
image: ghcr.io/defguard/defguard-proxy:${DEFGUARD_PROXY_TAG:?DEFGUARD_PROXY_TAG is required}
env_file: .env
volumes:
- ./.volumes/certs/edge:/etc/defguard/certs
ports:
- "8080:8080"
- "443:443"
- "80:80"
gateway:
restart: unless-stopped
image: ghcr.io/defguard/gateway:${DEFGUARD_GATEWAY_TAG:?DEFGUARD_GATEWAY_TAG is required}
env_file: .env
cap_add:
- NET_ADMIN
volumes:
- ./.volumes/certs/gateway:/etc/defguard/certs
environment:
DEFGUARD_STATS_PERIOD: 10
HEALTH_PORT: 55003
ports:
- "51820:51820/udp"
db:
restart: unless-stopped
image: postgres:18-alpine
env_file: .env
volumes:
- ./.volumes/db:/var/lib/postgresql