diff --git a/.gitignore b/.gitignore index 4bda13b..ca3816f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ + +## For secrets in through docker env variables +docker-compose.secrets.yml + ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. ## @@ -330,3 +334,5 @@ ASALocalRun/ # MFractors (Xamarin productivity tool) working folder .mfractor/ + +dist/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 444adb9..4709acd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,35 @@ version: '2' +volumes: + postgres_data: + driver: local + 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: image: jboss/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 ports: - 8080:8080 + links: + - postgres steamidp: image: neothor/steam-openid-connect-provider:develop