-
Notifications
You must be signed in to change notification settings - Fork 3
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 #2 from biorack/labkey-app
Labkey app
- Loading branch information
Showing
5 changed files
with
58 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# Link to base file: https://hub.docker.com/_/openjdk/ | ||
FROM openjdk:7 | ||
FROM tomcat:9 | ||
|
||
####### Environment variables from tomcat and their paths | ||
# CATALINA_BASE: /usr/local/tomcat | ||
# CATALINA_HOME: /usr/local/tomcat | ||
# CATALINA_TMPDIR: /usr/local/tomcat/temp | ||
# JRE_HOME: /usr | ||
# CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar | ||
|
||
# Instructions adapted from here: https://www.labkey.org/Documentation/wiki-page.view?name=manualInstall | ||
|
||
# Move the LabKey Server Libraries | ||
COPY tomcat-lib /usr/local/tomcat/lib | ||
|
||
# Configure your LabKey Home directory | ||
RUN mkdir -p /usr/local/labkey | ||
COPY labkeywebapp /usr/local/labkey/labkeywebapp | ||
COPY modules /usr/local/labkey/modules | ||
COPY pipeline-lib /usr/local/labkey/pipeline-lib | ||
|
||
# Move the LabKey Server Configuration File | ||
COPY labkey.xml /usr/local/tomcat/conf/Catalina/localhost/ |
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
version: '2' | ||
|
||
services: | ||
app: | ||
image: mamelara/labkey-app # Uses my image but should use a JGI image | ||
ports: | ||
- "8080:8080" | ||
links: | ||
- "db:database" | ||
db: | ||
image: postgres:10 | ||
stdin_open: true | ||
tty: true | ||
volumes: | ||
- db.Postgres:/var/lib/postgresql/data | ||
environment: | ||
POSTGRES_USER: "postgres" | ||
POSTGRES_PASSWORD: "mypassword" | ||
POSTGRES_DB: "labkey" | ||
ports: | ||
- "5432:5432" | ||
volumes: | ||
db.Postgres: |
This file was deleted.
Oops, something went wrong.