-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
73 lines (65 loc) · 1.68 KB
/
docker-compose.yaml
File metadata and controls
73 lines (65 loc) · 1.68 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
services:
core:
restart: always
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: "host.docker.internal:50066"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- db
- edge
- gateway
ports:
- "8000:8000"
edge:
restart: always
image: ghcr.io/defguard/defguard-proxy:${DEFGUARD_PROXY_TAG:?DEFGUARD_PROXY_TAG is required}
volumes:
- ./.volumes/certs/edge:/etc/defguard/certs
ports:
- "8080:8080"
gateway:
restart: always
image: ghcr.io/defguard/gateway:${DEFGUARD_GATEWAY_TAG:?DEFGUARD_GATEWAY_TAG is required}
cap_add:
- NET_ADMIN
volumes:
- ./.volumes/certs/gateway:/etc/defguard/certs
environment:
DEFGUARD_STATS_PERIOD: 10
HEALTH_PORT: 55003
network_mode: "host"
npm:
image: "jc21/nginx-proxy-manager:2.14.0"
restart: unless-stopped
ports:
- "80:80" # HTTP Port
- "443:443" # HTTPS Port
- "81:81" # Admin Web Port
environment:
TZ: "UTC"
volumes:
- ./.volumes/npm/data:/data
- ./.volumes/npm/letsencrypt:/etc/letsencrypt
dockge:
image: louislam/dockge:1
restart: unless-stopped
ports:
- "5001:5001"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./.volumes/dockge:/app/data
- /opt:/opt
environment:
DOCKGE_STACKS_DIR: /opt
db:
restart: always
image: postgres:18-alpine
env_file: .env
volumes:
- ./.volumes/db:/var/lib/postgresql