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

76 lines
2.1 KiB
YAML
Raw Normal View History

# 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'
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