-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
40 lines (40 loc) · 1.46 KB
/
docker-compose.yaml
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
39
40
services:
# Update this image with whatever image you have access to
brapi-java-server-v1:
image: brapicoordinatorselby/brapi-java-server:v1
depends_on:
- postgres
volumes:
- /home/jenkins/brapi.org/brapi-test-server/properties/v1/application.properties:/home/brapi/properties/application.properties
brapi-java-server-v2:
# Update this image with whatever image you have access to
image: brapicoordinatorselby/brapi-java-server:v2
depends_on:
- postgres
volumes:
# Update this path with the path your pipeline tool expects
- /home/jenkins/brapi.org/brapi-test-server/properties/v2/application.properties:/home/brapi/properties/application.properties
keycloak-brapi:
# Update this image with whatever keycloak image you have access to
image: brapicoordinatorselby/brapi-keycloak:latest
entrypoint: /opt/keycloak/bin/kc.sh start --optimized --proxy edge
depends_on:
- postgres
environment:
# These vars will change depending on how you have configured your keycloak DB
- KEYCLOAK_USER
- KEYCLOAK_PASSWORD
- KC_HOSTNAME=auth.brapi.org
- KC_DB
- KC_DB_URL
- KC_DB_USERNAME
- KC_DB_PASSWORD
postgres:
image: postgres:17.2
volumes:
# Update this path with the path your pipeline tool expects
- /home/jenkins/brapi.org/brapi-test-server/17-2:/var/lib/postgresql/data
networks:
default:
external:
name: brapi_net