Skip to content

Commit

Permalink
Merge branch 'chore/openapi-documentation' of https://github.com/ebi-…
Browse files Browse the repository at this point in the history
…gene-expression-group/atlas-web-single-cell into chore/openapi-documentation
  • Loading branch information
ke4 committed Oct 6, 2023
2 parents 9cc70bd + 12dd950 commit ba8780a
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 1 deletion.
51 changes: 51 additions & 0 deletions docker/docker-compose-openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
version: "3.6"

services:
scxa-gradle:
image: openjdk:11
container_name: scxa-gradle
networks:
- scxa
ports:
- "8081:8081"
working_dir: /root/project
volumes:
- root-gradle-wrapper:/root/.gradle/wrapper
- root-gradle-caches:/root/.gradle/caches
- ..:/root/project
- ./packages:/root/.m2
- $GRADLE_RO_DEP_CACHE:/gradle-ro-dep-cache
- $ATLAS_EXPERIMENTS_PATH:/sc-experiments
- $ATLAS_BIOENTITY_PROPERTIES_PATH:/atlas-data/bioentity_properties

depends_on:
- scxa-postgres
- scxa-solrcloud-1
- scxa-solrcloud-2
environment:
POSTGRES_HOST: $POSTGRES_HOST
POSTGRES_DB: $POSTGRES_DB
POSTGRES_USER: $POSTGRES_USER
POSTGRES_PASSWORD: $POSTGRES_PASSWORD
GRADLE_RO_DEP_CACHE: /gradle-ro-dep-cache
command:
- sh
- -c
- >
./gradlew
-PdataFilesLocation=/atlas-data
-PexperimentFilesLocation=/sc-experiments
-PjdbcUrl=jdbc:postgresql://$POSTGRES_HOST:5432/$POSTGRES_DB
-PjdbcUsername=$POSTGRES_USER
-PjdbcPassword=$POSTGRES_PASSWORD
-PzkHost=scxa-zk-1
-PsolrHost=scxa-solrcloud-1
clean :openapi:bootRun
volumes:
root-gradle-wrapper:
root-gradle-caches:

networks:
scxa:
name: scxa

0 comments on commit ba8780a

Please sign in to comment.