steam-openid-connect-provider/docker-compose.yml

57 lines
1.5 KiB
YAML
Raw Normal View History

version: '2'
2021-05-11 00:42:16 +00:00
volumes:
postgres_data:
driver: local
services:
proxy:
image: neothor/proxy:develop
build: ./develop/proxy
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
keycloak:
image: neothor/keycloak:develop
build: ./develop/keycloak
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
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: changeit
PROXY_ADDRESS_FORWARDING: "true"
2021-05-11 00:42:16 +00:00
links:
- postgres
extra_hosts:
- "dev.local:host-gateway"
steamidp:
2021-05-11 00:06:54 +00:00
image: neothor/steam-openid-connect-provider:develop
build: ./src
container_name: steamidp
links:
- 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