-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
35 lines (35 loc) · 1.68 KB
/
docker-compose.yml
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
version: '3.4'
services:
backend:
image: maven:3.9.5-eclipse-temurin-17
ports:
- 8082:8080
volumes:
- ${HOME}/glytablemaker/maven:/root/.m2
- .:/workspace
- ${HOME}/glytablemaker/images:/images
- ${HOME}/glytablemaker/uploads:/uploads
- ${HOME}/glytablemaker/namespaces:/namespaces
working_dir: /workspace/
command: bash -c "mvn clean && mvn -U -Dspring-boot.run.jvmArguments=-Djasypt.encryptor.password=${JASYPT_SECRET} -DskipTests=true -Dlog4j2.version=2.17.1 spring-boot:run"
environment:
- MAVEN_OPTS=-Xmx6000m
- JASYPT_SECRET
- SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-prod}
- SPRING_DATASOURCE_URL=${SPRING_DATASOURCE_URL:-jdbc:postgresql://postgres16:5436/glygen}
- SPRING_DATASOURCE_USERNAME=glygen
- SPRING_DATASOURCE_PASSWORD
- GLYGEN_SCHEME=${GLYGEN_SCHEME:-https://}
- GLYGEN_HOST=${GLYGEN_HOST:-glygen.ccrc.uga.edu/tablemaker}
- GLYGEN_FRONTEND_HOST=${GLYGEN_FRONTEND_HOST:-glygen.ccrc.uga.edu/tablemaker}
- GLYGEN_OAUTH2_REDIRECTURI=${GLYGEN_OAUTH2_REDIRECTURI:-https://glygen.ccrc.uga.edu/tablemaker/oauth2/redirect}
- GLYGEN_BASEPATH=${GLYGEN_BASEPATH:-/api}
- SERVER_SERVLET_CONTEXT_PATH=${SERVER_SERVLET_CONTEXT_PATH:-/}
- SPRINGDOC_SWAGGERUI_CONFIGURL=${SPRINGDOC_SWAGGERUI_CONFIGURL:-/v3/api-docs/swagger-config}
- SPRINGDOC_SWAGGERUI_URL=${SPRINGDOC_SWAGGERUI_URL:-/v3/api-docs}
- SPRING_SECURITY_OAUTH2_CLIENT_REGISTRATION_GOOGLE_REDIRECTURI=${GOOGLE_REDIRECT_URI:-https://glygen.ccrc.uga.edu/tablemaker/api/login/oauth2/code/google}
restart: always
networks:
default:
name: ${GLYGEN_NETWORK:-glygen-network}
external: true