Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Commit 5732c8f

Browse files
Update docker-compose.yaml
Match what is actually running on the server
1 parent e551fc7 commit 5732c8f

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

docker-compose.yaml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,40 @@
1+
version: '3'
2+
13
services:
24
brapi-java-server-v1:
35
image: brapicoordinatorselby/brapi-java-server:v1
46
restart: unless-stopped
5-
depends_on:
7+
depends_on:
68
- postgres
79
volumes:
810
- /home/jenkins/brapi.org/brapi-test-server/properties/v1/application.properties:/home/brapi/properties/application.properties
911
brapi-java-server-v2:
1012
image: brapicoordinatorselby/brapi-java-server:v2
1113
restart: unless-stopped
12-
depends_on:
14+
depends_on:
1315
- postgres
1416
volumes:
1517
- /home/jenkins/brapi.org/brapi-test-server/properties/v2/application.properties:/home/brapi/properties/application.properties
1618
keycloak-brapi:
17-
image: jboss/keycloak:12.0.1
19+
image: brapicoordinatorselby/brapi-keycloak:latest
1820
restart: unless-stopped
19-
depends_on:
21+
entrypoint: /opt/keycloak/bin/kc.sh start --optimized --proxy edge
22+
depends_on:
2023
- postgres
21-
volumes:
22-
- /home/jenkins/brapi.org/brapi-test-server/keycloak/standalone.xml:/opt/jboss/keycloak/standalone/configuration/standalone.xml
2324
environment:
2425
- KEYCLOAK_USER
2526
- KEYCLOAK_PASSWORD
26-
- DB_VENDOR
27-
- DB_ADDR
28-
- DB_DATABASE
29-
- DB_USER
30-
- DB_PASSWORD
31-
- PROXY_ADDRESS_FORWARDING=true
27+
- KC_HOSTNAME=auth.brapi.org
28+
- KC_DB
29+
- KC_DB_URL
30+
- KC_DB_USERNAME
31+
- KC_DB_PASSWORD
3232
postgres:
3333
image: postgres:13
3434
restart: unless-stopped
35-
environment:
36-
- POSTGRES_USER
37-
- POSTGRES_PASSWORD
3835
volumes:
3936
- /home/jenkins/brapi.org/brapi-test-server/data:/var/lib/postgresql/data
4037
networks:
4138
default:
42-
external: true
43-
name: brapi_net
39+
external:
40+
name: brapi_net

0 commit comments

Comments
 (0)