2021-05-10 00:46:43 +00:00
|
|
|
version: '2'
|
2021-05-11 00:42:16 +00:00
|
|
|
volumes:
|
|
|
|
postgres_data:
|
|
|
|
driver: local
|
|
|
|
|
2021-05-10 00:46:43 +00:00
|
|
|
services:
|
2021-05-15 04:42:14 +00:00
|
|
|
proxy:
|
2021-05-15 11:27:57 +00:00
|
|
|
image: neothor/proxy:develop
|
|
|
|
build: ./develop/proxy
|
2021-05-15 04:42:14 +00:00
|
|
|
container_name: proxy
|
|
|
|
ports:
|
|
|
|
- 443:443
|
|
|
|
links:
|
|
|
|
- keycloak
|
|
|
|
- steamidp
|
|
|
|
|
2021-05-11 00:42:16 +00:00
|
|
|
postgres:
|
|
|
|
image: postgres
|
|
|
|
container_name: postgres
|
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: keycloak
|
|
|
|
POSTGRES_USER: keycloak
|
|
|
|
POSTGRES_PASSWORD: password
|
|
|
|
|
2021-05-10 00:46:43 +00:00
|
|
|
keycloak:
|
2021-05-15 11:27:57 +00:00
|
|
|
image: neothor/keycloak:develop
|
|
|
|
build: ./develop/keycloak
|
2021-05-10 00:46:43 +00:00
|
|
|
container_name: keycloak
|
|
|
|
environment:
|
2021-05-11 00:42:16 +00:00
|
|
|
DB_VENDOR: POSTGRES
|
|
|
|
DB_ADDR: postgres
|
|
|
|
DB_DATABASE: keycloak
|
|
|
|
DB_USER: keycloak
|
|
|
|
DB_SCHEMA: public
|
|
|
|
DB_PASSWORD: password
|
2021-05-10 00:46:43 +00:00
|
|
|
KEYCLOAK_USER: admin
|
|
|
|
KEYCLOAK_PASSWORD: changeit
|
2021-05-15 04:42:14 +00:00
|
|
|
PROXY_ADDRESS_FORWARDING: "true"
|
2021-05-11 00:42:16 +00:00
|
|
|
links:
|
2021-05-15 04:42:14 +00:00
|
|
|
- postgres
|
|
|
|
extra_hosts:
|
|
|
|
- "dev.local:host-gateway"
|
2021-05-10 00:46:43 +00:00
|
|
|
|
|
|
|
steamidp:
|
2021-05-11 00:06:54 +00:00
|
|
|
image: neothor/steam-openid-connect-provider:develop
|
2021-05-10 00:46:43 +00:00
|
|
|
build: ./src
|
2021-05-15 04:42:14 +00:00
|
|
|
container_name: steamidp
|
2021-05-10 00:46:43 +00:00
|
|
|
links:
|
2021-05-15 04:42:14 +00:00
|
|
|
- keycloak
|
|
|
|
environment:
|
|
|
|
OpenID__ClientID: keycloak
|
|
|
|
OpenID__ClientName: keycloak
|
|
|
|
OpenId__ClientSecret: keycloak
|
|
|
|
OpenID__RedirectUri: https://dev.local/auth/realms/dev/broker/steam/endpoint
|
|
|
|
Hosting__BasePath: /steam
|