-
Notifications
You must be signed in to change notification settings - Fork 7
/
hydrastart.yaml
52 lines (51 loc) · 1.36 KB
/
hydrastart.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
version: '3'
networks:
hydraguide:
external: true
services:
hydra:
image: oryd/hydra:v1.7.4
ports:
- "4444:4444" # Public port
- "4445:4445" # Admin port
- "5555:5555" # Port for hydra token user
command:
serve all --dangerous-force-http
environment:
- URLS_SELF_ISSUER=http://127.0.0.1:4444
- URLS_CONSENT=http://127.0.0.1:9000/consent
- URLS_LOGIN=http://127.0.0.1:9000/login
- URLS_LOGOUT=http://127.0.0.1:9000/logout
- DSN=memory
- SECRETS_SYSTEM=youReallyNeedToChangeThis
- OIDC_SUBJECT_IDENTIFIERS_SUPPORTED_TYPES=public,pairwise
- OIDC_SUBJECT_IDENTIFIERS_PAIRWISE_SALT=youReallyNeedToChangeThis
- SERVE_COOKIES_SAME_SITE_MODE=Lax
restart: unless-stopped
networks:
- hydraguide
consent:
environment:
- HYDRA_ADMIN_URL=http://hydra:4445
image: oryd/hydra-login-consent-node:v1.5.2
ports:
- "9000:3000"
restart: unless-stopped
networks:
- hydraguide
# gitea:
# image: gitea/gitea:latest
# hostname: gitea.example.com
# environment:
# - USER_UID=1000
# - USER_GID=1000
# restart: always
# networks:
# - hydraguide
# volumes:
# - ./gitea:/data
# - /etc/timezone:/etc/timezone:ro
# - /etc/localtime:/etc/localtime:ro
# ports:
# - "3000:3000"
# - "2228:22"