-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdocker-compose.resources.yml
More file actions
38 lines (34 loc) · 1.02 KB
/
docker-compose.resources.yml
File metadata and controls
38 lines (34 loc) · 1.02 KB
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
32
33
34
35
36
37
38
# SPDX-FileCopyrightText: 2021-2025 DINUM <floss@numerique.gouv.fr>
# SPDX-FileCopyrightText: 2024-2025 Université Grenoble Alpes
# SPDX-License-Identifier: MIT
# this is for local use only
services:
# the PG database
postgres:
image: postgres:16
shm_size: 256m
ports:
- "5432:5432"
environment:
POSTGRES_LOG_STATEMENTS: all
POSTGRES_DB: ${POSTGRES_DB:-db}
POSTGRES_USER: ${POSTGRES_USER:-catalogi}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-pg_password}
volumes:
- ./docker-data:/var/lib/postgresql/data
# Adminer is optional, it provides a basic interface for PostgreSQL access
adminer:
image: adminer
ports:
- "8081:8080"
# an OIDC provider, Keycloak
keycloak:
image: quay.io/keycloak/keycloak:26.2.5
environment:
KC_BOOTSTRAP_ADMIN_USERNAME: admin
KC_BOOTSTRAP_ADMIN_PASSWORD: admin
command: start-dev --import-realm
volumes:
- ./catalogi-realm.json:/opt/keycloak/data/import/catalogi-realm.json
ports:
- "8080:8080"