You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.0 KiB
YAML
71 lines
2.0 KiB
YAML
version: '3.7'
|
|
services:
|
|
postgres-hydra:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_USER=hydra
|
|
- POSTGRES_PASSWORD=secret
|
|
- POSTGRES_DB=hydra
|
|
volumes:
|
|
- postgres-hydra:/var/lib/postgresql
|
|
networks:
|
|
- intranet
|
|
postgres-kratos:
|
|
image: postgres:15
|
|
environment:
|
|
- POSTGRES_USER=kratos
|
|
- POSTGRES_PASSWORD=secret
|
|
- POSTGRES_DB=kratos
|
|
volumes:
|
|
- postgres-kratos:/var/lib/postgresql
|
|
networks:
|
|
- intranet
|
|
gitea:
|
|
image: gitea/gitea:1.18.5
|
|
environment:
|
|
- USER_UID=1000
|
|
- USER_GID=1000
|
|
restart: always
|
|
volumes:
|
|
- data-gitea:/data
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "3621:3000"
|
|
- "2222:22"
|
|
networks:
|
|
- intranet
|
|
hydra-consent:
|
|
image: ghcr.io/lus/hydra-consent:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 3000:3000
|
|
depends_on:
|
|
- kratos
|
|
- hydra
|
|
environment:
|
|
ENVIRONMENT: prod
|
|
# The minimum log level to print.
|
|
# Available values: 'trace', 'debug', 'info', 'warn', 'error', 'fatal', 'panic' and 'disabled'
|
|
# The default value is 'info'. I recommend leaving this as this will not clutter your console anyway.
|
|
LOG_LEVEL: trace
|
|
# The address to bind the HTTP server to.
|
|
# The default value is :8080 (= 0.0.0.0:8080).
|
|
LISTEN_ADDRESS: :3000
|
|
# The address to Hydra's admin API.
|
|
# DO NOT expose this to the public without proper authentication & authorization.
|
|
# This field is required.
|
|
HYDRA_ADMIN_API: http://hydra:4445
|
|
# The address to Kratos' admin API.
|
|
# DO NOT expose this to the public without proper authentication & authorization.
|
|
# This field is optional. Only specify it if you want to enable the native Kratos trait propagation.
|
|
KRATOS_ADMIN_API: http://kratos:4434
|
|
networks:
|
|
- intranet
|
|
networks:
|
|
intranet:
|
|
volumes:
|
|
postgres-kratos:
|
|
postgres-hydra:
|
|
data-gitea:
|