-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.yml
More file actions
67 lines (58 loc) · 1.44 KB
/
dev.yml
File metadata and controls
67 lines (58 loc) · 1.44 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
services:
postgres:
ports:
- "5432:5432"
keycloak-db:
ports:
- "5433:5433"
keycloak:
ports:
- "8080:8080"
environment:
KC_HOSTNAME_DEBUG: "true"
command: ["start-dev", "--import-realm"]
backend:
image: boilerplate-meta-api
build:
context: ./apps/api
dockerfile: Dockerfile
environment:
SPRING_PROFILES_ACTIVE: dev
redis:
ports:
- "6379:6379"
oauth2-proxy:
ports:
- "4180:4180"
environment:
OAUTH2_PROXY_SAME_SITE: "none"
OAUTH2_SKIP_JWT_BEARER_TOKENS: "true"
OAUTH2_PROXY_SHOW_DEBUG_ON_ERROR: "true"
command:
- --whitelist-domain=${HOSTNAME}
- --whitelist-domain=${HOSTNAME_PORT}
- --whitelist-domain=localhost
- --whitelist-domain=localhost:5173
- --whitelist-domain=localhost:443
- --insecure-oidc-allow-unverified-email=true
- --prefer-email-to-user=true
- --set-xauthrequest=true
- --skip-provider-button=true
- --insecure-oidc-skip-issuer-verification=true
- --skip-auth-route=/api/v1/stripe/webhook
- --skip-auth-route=GET=/api/v1/configuration
- --skip-auth-route=GET=/api/actuator/health
prometheus:
ports:
- "9090:9090"
grafana:
ports:
- "3000:3000"
traefik:
volumes:
- ./config/traefik/dev:/etc/traefik
- ./config/traefik/dev/:/acme.json
- ./config/certs:/certs
frontend:
profiles:
- prod