-
-
Notifications
You must be signed in to change notification settings - Fork 101
Expand file tree
/
Copy pathdocker-compose.e2e.yaml
More file actions
57 lines (54 loc) · 1.32 KB
/
docker-compose.e2e.yaml
File metadata and controls
57 lines (54 loc) · 1.32 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
services:
core:
image: ghcr.io/defguard/defguard:${IMAGE_TAG}
environment:
DEFGUARD_COOKIE_INSECURE: true
DEFGUARD_COOKIE_DOMAIN: localhost
DEFGUARD_LOG_LEVEL: debug
DEFGUARD_DB_HOST: db
DEFGUARD_DB_PORT: 5432
DEFGUARD_DB_USER: defguard
DEFGUARD_DB_PASSWORD: defguard
DEFGUARD_DB_NAME: defguard
DEFGUARD_GRPC_PORT: 50055
RUST_BACKTRACE: 1
ports:
# REST API
- "8000:8000"
# Default Core GRPC port
- "50055:50055"
depends_on:
- db
db:
image: public.ecr.aws/docker/library/postgres:17-alpine
environment:
POSTGRES_DB: defguard
POSTGRES_USER: defguard
POSTGRES_PASSWORD: defguard
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U defguard -d defguard"]
interval: 5s
timeout: 3s
retries: 5
start_period: 5s
edge:
image: ghcr.io/defguard/defguard-proxy:${IMAGE_TAG}
ports:
# REST API
- "8080:8080"
# Default Edge GRPC port
- "50051:50051"
environment:
DEFGUARD_PROXY_GRPC_PORT: 50051
RUST_BACKTRACE: 1
gateway:
image: ghcr.io/defguard/gateway:${IMAGE_TAG}
ports:
- "50066:50066"
environment:
DEFGUARD_GATEWAY_GRPC_PORT: 50066
RUST_BACKTRACE: 1
cap_add:
- NET_ADMIN