mirror of
https://github.com/byo-software/steam-openid-connect-provider.git
synced 2025-01-09 18:06:22 +00:00
Use postgresql for faster startup
This commit is contained in:
parent
a003e250fa
commit
f14bf5e6e2
2 changed files with 28 additions and 0 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -1,3 +1,7 @@
|
||||||
|
|
||||||
|
## For secrets in through docker env variables
|
||||||
|
docker-compose.secrets.yml
|
||||||
|
|
||||||
## Ignore Visual Studio temporary files, build results, and
|
## Ignore Visual Studio temporary files, build results, and
|
||||||
## files generated by popular Visual Studio add-ons.
|
## files generated by popular Visual Studio add-ons.
|
||||||
##
|
##
|
||||||
|
@ -330,3 +334,5 @@ ASALocalRun/
|
||||||
|
|
||||||
# MFractors (Xamarin productivity tool) working folder
|
# MFractors (Xamarin productivity tool) working folder
|
||||||
.mfractor/
|
.mfractor/
|
||||||
|
|
||||||
|
dist/
|
|
@ -1,13 +1,35 @@
|
||||||
version: '2'
|
version: '2'
|
||||||
|
volumes:
|
||||||
|
postgres_data:
|
||||||
|
driver: local
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres
|
||||||
|
container_name: postgres
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: keycloak
|
||||||
|
POSTGRES_USER: keycloak
|
||||||
|
POSTGRES_PASSWORD: password
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: jboss/keycloak
|
image: jboss/keycloak
|
||||||
container_name: keycloak
|
container_name: keycloak
|
||||||
environment:
|
environment:
|
||||||
|
DB_VENDOR: POSTGRES
|
||||||
|
DB_ADDR: postgres
|
||||||
|
DB_DATABASE: keycloak
|
||||||
|
DB_USER: keycloak
|
||||||
|
DB_SCHEMA: public
|
||||||
|
DB_PASSWORD: password
|
||||||
KEYCLOAK_USER: admin
|
KEYCLOAK_USER: admin
|
||||||
KEYCLOAK_PASSWORD: changeit
|
KEYCLOAK_PASSWORD: changeit
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
links:
|
||||||
|
- postgres
|
||||||
|
|
||||||
steamidp:
|
steamidp:
|
||||||
image: neothor/steam-openid-connect-provider:develop
|
image: neothor/steam-openid-connect-provider:develop
|
||||||
|
|
Loading…
Reference in a new issue