fix:brapi-java服务初次提交

This commit is contained in:
彭帅
2026-05-21 16:54:21 +08:00
parent 8e4418e9d6
commit fc36bc83e3
724 changed files with 590010 additions and 2 deletions

40
docker-compose.yaml Normal file
View File

@@ -0,0 +1,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