Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Make Keycloak and API server configurable from command line.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijskant committed Apr 26, 2019
1 parent 5188b9d commit 59bccae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
13 changes: 11 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
[![Docker Build Status](https://img.shields.io/docker/build/thehyve/transmart-core.svg)](https://cloud.docker.com/swarm/thehyve/repository/registry-1.docker.io/thehyve/gb-backend)
[![Docker Build Status](https://img.shields.io/docker/build/thehyve/glowing-bear-backend.svg)](https://hub.docker.com/r/thehyve/glowing-bear-backend)

Docker image definitions and docker-compose profiles to run gb-backend and its database.
`gb-backend` runs the application server through OpenJDK, and `gb-backend-database` its database through PostgreSQL.

## Build
Build the image with:
```bash
docker build -t thehyve/glowing-bear-backend . --no-cache
```

## Usage
Run the full stack with:
```
```bash
export TRANSMART_API_SERVER_URL=https://transmart.example.com
export KEYCLOAK_SERVER_URL=https://keycloak.example.com/auth
export KEYCLOAK_REALM=transmart-dev
docker-compose -f docker-compose.yml up
```

Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ services:
ports:
- 8083:8083
environment:
TRANSMART_API_SERVER_URL: https://transmart.example.com
KEYCLOAK_SERVER_URL: https://keycloak.example.com/auth
KEYCLOAK_REALM: example-realm
TRANSMART_API_SERVER_URL: ${TRANSMART_API_SERVER_URL}
KEYCLOAK_SERVER_URL: ${KEYCLOAK_SERVER_URL}
KEYCLOAK_REALM: ${KEYCLOAK_REALM}
KEYCLOAK_CLIENT_ID: transmart-client
DB_USER: gb
DB_PASSWORD: gb
Expand Down

0 comments on commit 59bccae

Please sign in to comment.