-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
36 lines (35 loc) · 1.22 KB
/
compose.yaml
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
services:
dungap:
container_name: dungap
image: ${IMAGES_PREFIX:-dungap}
build:
context: .
dockerfile: ./docker/Dockerfile
restart: unless-stopped
environment:
PWA_UPSTREAM: localhost:5173
SERVER_NAME: ${SERVER_NAME:-localhost}, dungap:80
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
TRUSTED_PROXIES: ${TRUSTED_PROXIES:-127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16}
TRUSTED_HOSTS: ^${SERVER_NAME:-itstoni\.com|localhost}|api$$
MERCURE_JWT_SECRET: ${CADDY_MERCURE_JWT_SECRET:-!ChangeThisMercureHubJWTSecretKey!}
DUNGAP_CONFIG_DIRS: /config,/srv/api/config/dungap
OIDC_UPSTREAM: https://localhost/change/me
OIDC_SERVER_URL: ${OIDC_SERVER_URL:-https://localhost/oidc/realms/demo}
ports:
# HTTP
- target: 80
published: ${HTTP_PORT:-80}
protocol: tcp
# HTTPS
- target: 443
published: ${HTTPS_PORT:-443}
protocol: tcp
# HTTP/3
- target: 443
published: ${HTTP3_PORT:-443}
protocol: udp
volumes:
caddy_data:
caddy_config: