2022-08-05 14:03:38 +02:00
|
|
|
---
|
|
|
|
# Copyright (c) Ansible Project
|
|
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
2021-10-30 08:18:31 +02:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
image: postgres:9.6
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: postgres
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
|
|
|
|
keycloak:
|
|
|
|
image: jboss/keycloak:12.0.4
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
|
|
|
|
environment:
|
|
|
|
DB_VENDOR: postgres
|
|
|
|
DB_ADDR: postgres
|
|
|
|
DB_DATABASE: postgres
|
|
|
|
DB_USER: postgres
|
|
|
|
DB_SCHEMA: public
|
|
|
|
DB_PASSWORD: postgres
|
|
|
|
|
|
|
|
KEYCLOAK_USER: admin
|
|
|
|
KEYCLOAK_PASSWORD: password
|