Skip to content
Snippets Groups Projects
Verified Commit f67e5014 authored by Ira ¯\_(ツ)_/¯'s avatar Ira ¯\_(ツ)_/¯
Browse files

Simplify compose file to only include necessary parts for testing

parent 8755eb7d
No related branches found
No related tags found
No related merge requests found
version: "3.8"
services:
postgres:
container_name: postgres
image: postgres:latest
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: keycloak
keycloak:
container_name: keycloak
build: ./docker
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
JAVA_OPTS: -Dkeycloak.profile=preview
DB_ADDR: postgres
DB_DATABASE: keycloak
DB_USER: keycloak
DB_PASSWORD: keycloak
depends_on:
- postgres
KEYCLOAK_DEFAULT_THEME: archlinux
KEYCLOAK_WELCOME_THEME: archlinux
ports:
- 8080:8080
volumes:
postgres_data:
driver: local
volumes:
- ./docker/archlinux:/opt/jboss/keycloak/themes/archlinux
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment