-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #544 from molgenis/feat/248-run-armadillo-container
Make docker compose for CI and dev
- Loading branch information
Showing
21 changed files
with
669 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
FROM eclipse-temurin:17.0.9_9-jdk-focal | ||
FROM --platform=linux/amd64 eclipse-temurin:17.0.9_9-jdk-focal | ||
VOLUME /data | ||
VOLUME /config | ||
VOLUME /logs | ||
|
||
ARG JAR_FILE | ||
EXPOSE 8080 | ||
COPY ${JAR_FILE} /app.jar | ||
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"] | ||
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-DSPRING_CONFIG_ADDITIONAL_LOCATION=/config/application.yml", "-jar","/app.jar"] |
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 |
---|---|---|
|
@@ -2,6 +2,14 @@ armadillo: | |
# set this false if you DON'T want Armadillo to create/edit/delete profile docker images via the user interface | ||
docker-management-enabled: true | ||
|
||
# set this true if you want Armadillo runs as a docker container | ||
# NOTE: this needs "docker-management-enabled" == false | ||
docker-run-in-container: false | ||
|
||
# when running the R containers from a docker-compose.yml they get prefixes based on the directory name of the | ||
# docker-compose.yml file ie armadillo-dev-" + profileName + "-1". Same goes for Armadillo ie armadillo-dev-armadillo-1" | ||
container-prefix: '' | ||
|
||
# uncomment this to configure an oidc user as admin user | ||
# oidc-admin-user: [email protected] | ||
|
||
|
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 |
---|---|---|
@@ -1,8 +1,19 @@ | ||
armadillo: | ||
# set this to 'true' if you want to accept permissions from oidc provider | ||
oidc-permission-enabled: false | ||
|
||
# set this true if you want Armadillo to create/edit/delete profile docker images | ||
docker-management-enabled: true | ||
|
||
# set this true if you want Armadillo runs as a docker container | ||
# NOTE: this needs "docker-management-enabled" == false | ||
docker-run-in-container: true | ||
|
||
# when running the R containers from a docker-compose.yml they get prefixes based on the directory name of the | ||
# docker-compose.yml file ie armadillo-dev-" + profileName + "-1". Same goes for Armadillo ie armadillo-dev-armadillo-1" | ||
container-prefix: '' | ||
|
||
|
||
# uncomment this to configure a default admin user | ||
# oidc-admin-user: [email protected] | ||
|
||
|
Oops, something went wrong.