mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
59bd22567e
Updating keycloak container to be able to add SSL cert
76 lines
No EOL
2.1 KiB
YAML
76 lines
No EOL
2.1 KiB
YAML
# Create the file docker-compose.secrets.yml and add
|
|
# ```
|
|
# version: '2'
|
|
# services:
|
|
# proxy:
|
|
# volumes:
|
|
# - "<your-certs>/dev.local.crt:/tmp/dev.local.crt"
|
|
# - "<your-certs>/dev.local.key:/tmp/dev.local.key"
|
|
#
|
|
# keycloak:
|
|
# volumes:
|
|
# - "<your-certs>/dev.local.crt:/tmp/dev.local.crt"
|
|
#
|
|
# steamidp:
|
|
# environment:
|
|
# Steam__ApplicationKey: <your-app-key>
|
|
# ```
|
|
#
|
|
# Than start with `docker compose -f .\docker-compose.yml -f .\docker-compose.secrets.yml up`
|
|
version: '2'
|
|
volumes:
|
|
postgres_data:
|
|
driver: local
|
|
|
|
services:
|
|
proxy:
|
|
image: neothor/proxy:develop
|
|
build: ./develop/proxy
|
|
container_name: proxy
|
|
ports:
|
|
- 443:443
|
|
links:
|
|
- keycloak
|
|
- steamidp
|
|
|
|
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:
|
|
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"
|
|
links:
|
|
- postgres
|
|
extra_hosts:
|
|
- "dev.local:host-gateway"
|
|
|
|
steamidp:
|
|
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 |