-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update conductor server version and JDK
- Loading branch information
Showing
9 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ MAINTAINER Orkes Inc <[email protected]> | |
|
||
RUN apk add nginx | ||
|
||
RUN apk add openjdk11 | ||
RUN apk add openjdk17 | ||
|
||
RUN apk add coreutils | ||
RUN apk add curl | ||
|
@@ -13,9 +13,10 @@ RUN apk add curl | |
RUN mkdir -p /app/config /app/logs /app/libs /app/info | ||
|
||
# Add UI | ||
# Make sure to run build-ui.sh script before running the docker build to pull and build the UI | ||
WORKDIR /usr/share/nginx/html | ||
RUN rm -rf ./* | ||
COPY tmp/ui/conductor/ui/build . | ||
COPY docker/tmp/ui/conductor/ui/build . | ||
COPY docker/config/nginx.conf /etc/nginx/http.d/default.conf | ||
|
||
# Startup script(s) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,17 +4,18 @@ MAINTAINER Orkes Inc <[email protected]> | |
# Install software required to run conductor stack | ||
RUN apk add nginx | ||
RUN apk add coreutils | ||
RUN apk add openjdk11 | ||
RUN apk add openjdk17 | ||
RUN apk add redis | ||
RUN apk add postgresql14 | ||
|
||
# Make app folders | ||
RUN mkdir -p /app/config /app/logs /app/libs /app/info | ||
|
||
# Add UI | ||
# Make sure to run build-ui.sh script before running the docker build to pull and build the UI | ||
WORKDIR /usr/share/nginx/html | ||
RUN rm -rf ./* | ||
COPY tmp/ui/conductor/ui/build . | ||
COPY docker/tmp/ui/conductor/ui/build . | ||
COPY docker/config/nginx.conf /etc/nginx/http.d/default.conf | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
version: '2.3' | ||
|
||
services: | ||
postgresql: | ||
image: postgres:11.15-alpine | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=postgres | ||
- POSTGRES_DB=postgres | ||
ports: | ||
- "7432:5432" | ||
networks: | ||
- internal | ||
|
||
r1: | ||
image: redis:alpine | ||
restart: on-failure | ||
command: "redis-server --save 60 1 --appendonly yes --loglevel warning" | ||
healthcheck: | ||
test: [ "CMD", "redis-cli","ping" ] | ||
ports: | ||
- "7379:6379" | ||
networks: | ||
- internal | ||
|
||
server-1: | ||
container_name: conductor | ||
build: | ||
context: ../ | ||
dockerfile: docker/DockerfileServer | ||
environment: | ||
- spring.datasource.url=jdbc:postgresql://postgresql:5432/postgres | ||
- conductor.redis-lock.serverAddress=redis://r1:6379 | ||
- conductor.redis.hosts=r1:6379:us-east-1c | ||
- conductor.queue.type=redis_standalone | ||
- conductor.db.type=redis_standalone | ||
healthcheck: | ||
test: [ "CMD", "curl", "-f", "http://localhost:8080/health" ] | ||
depends_on: | ||
r1: | ||
condition: service_healthy | ||
links: | ||
- r1 | ||
- postgresql | ||
ports: | ||
- "9090:8080" | ||
- "6000:5000" | ||
networks: | ||
- internal | ||
|
||
networks: | ||
internal: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip | ||
distributionSha256Sum=b586e04868a22fd817c8971330fec37e298f3242eb85c374181b12d637f80302 | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters