docker-compose.yml.prod 650 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: '3'

services:
  postgres:
    image: postgres
    volumes:
    - db:/var/lib/postgresql/data
    environment:
      POSTGRES_DB: keycloak
      POSTGRES_USER: keycloak
      POSTGRES_PASSWORD: password
  keycloak:
    image: keycloak
    volumes:
    - ./disable-theme-cache.cli:/opt/jboss/startup-scripts/disable-theme-cache.cli
    environment:
      DB_VENDOR: POSTGRES
      DB_ADDR: postgres
      DB_DATABASE: keycloak
      DB_USER: keycloak
      DB_SCHEMA: public
      DB_PASSWORD: password
      KEYCLOAK_USER: admin
      KEYCLOAK_PASSWORD: indiehosters
    ports:
    - 8080:8080
    depends_on:
    - postgres

volumes:
  db: