-
Notifications
You must be signed in to change notification settings - Fork 7
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 #75 from draeger-lab/config/docker-hub
Changing Travis, Gradle and Docker config to use Docker Hub images where possible
- Loading branch information
Showing
12 changed files
with
85 additions
and
37 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ------------------------------------------------ | ||
# docker-compose for ModelPolisher development | ||
# run gradle devel first and then docker-compose -f docker-compose.devel.yml run ... or export COMPOSE_FILE and run normally | ||
# ------------------------------------------------ | ||
version: '3' | ||
services: | ||
biggdb: | ||
image: mephenor/bigg_docker:1.5 | ||
container_name: modelpolisher_biggdb | ||
ports: | ||
- 1310:5432 | ||
adb: | ||
image: mephenor/adb_docker:0.1.1 | ||
container_name: modelpolisher_adb | ||
ports: | ||
- 1013:5432 | ||
java: | ||
build: ./docker/java_docker | ||
container_name: modelpolisher_java | ||
depends_on: | ||
- biggdb | ||
- adb | ||
stdin_open: true | ||
tty: true |
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,23 +1,24 @@ | ||
# ------------------------------------------------ | ||
# docker-compose for ModelPolisher | ||
# docker-compose for ModelPolisher release version | ||
# update docker hub images for new releases and change image accordingly | ||
# ------------------------------------------------ | ||
version: '3' | ||
services: | ||
biggdb: | ||
image: mephenor/bigg_docker:1.5 | ||
container_name: modelpolisher_biggdb | ||
build: ./docker/bigg_docker | ||
ports: | ||
- 1310:5432 | ||
adb: | ||
image: mephenor/adb_docker:0.1.1 | ||
container_name: modelpolisher_adb | ||
build: ./docker/adb_docker | ||
ports: | ||
- 1013:5432 | ||
java: | ||
image: mephenor/modelpolisher:2.0 | ||
depends_on: | ||
- biggdb | ||
- adb | ||
container_name: modelpolisher_java | ||
build: ./docker/java_docker | ||
stdin_open: true | ||
tty: true |
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 |
---|---|---|
|
@@ -3,12 +3,13 @@ MAINTAINER [email protected] | |
|
||
RUN adduser --disabled-password --gecos '' adb | ||
|
||
RUN apt-get update &&\ | ||
apt-get install wget -y &&\ | ||
RUN apt-get update && \ | ||
apt-get install curl -y && \ | ||
# Create directory '/adb_dump/' and download adb-v0.1.1 dump as 'adb-v0.1.1.dump' | ||
wget -P /adb_dump/ https://modelpolisher.s3.ap-south-1.amazonaws.com/adb-v0.1.1.dump &&\ | ||
mkdir /adb_dump && \ | ||
curl -Lo /adb_dump/adb-v0.1.1.dump https://www.dropbox.com/s/qjiey8y88gt4h0l/adb-v0.1.1.dump?dl=0 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ./scripts/restore_adb.sh /docker-entrypoint-initdb.d/restore_adb.sh | ||
|
||
EXPOSE 5432 | ||
EXPOSE 5432 |
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,10 +1,11 @@ | ||
FROM postgres:9.6.2 | ||
MAINTAINER [email protected] | ||
|
||
RUN apt-get update &&\ | ||
apt-get install wget -y &&\ | ||
RUN apt-get update && \ | ||
apt-get install curl -y && \ | ||
# Create directory '/bigg_database_dump/' and download bigg_database dump as 'database.dump' | ||
wget -P /bigg_database_dump/ https://modelpolisher.s3.ap-south-1.amazonaws.com/bigg_database.dump &&\ | ||
mkdir /bigg_database_dump && \ | ||
curl -Lo /bigg_database_dump/database.dump https://www.dropbox.com/s/mem1oa7f258xctf/bigg_database-v1.5.dump?dl=0 && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ./scripts/restore_biggdb.sh /docker-entrypoint-initdb.d/restore_biggdb.sh | ||
|
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,9 +1,5 @@ | ||
FROM openjdk:11-slim | ||
MAINTAINER [email protected] | ||
|
||
RUN apt-get update &&\ | ||
apt-get install -y wget &&\ | ||
wget https://modelpolisher.s3.ap-south-1.amazonaws.com/ModelPolisher-2.0.jar &&\ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY ModelPolisher-2.0.1.jar / | ||
CMD "/bin/sh" |
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