Skip to content

Commit

Permalink
Use merge build in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed May 17, 2019
1 parent e061111 commit b0274b6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
REPO=test
PREFIX=test
TCP_PORT=
SSL_PORT=4064:
14 changes: 10 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3"
version: "3.3"
#
# Compose for the development of this docker image
#
Expand All @@ -15,7 +15,12 @@ services:
- "database:/var/lib/postgresql/data"

omero:
build: .
image: ${REPO}/omero-server:${PREFIX}
build:
context: .
args:
- OMEGO_ADDITIONAL_ARGS="--ci=https://merge-ci.openmicroscopy.org/jenkins/"
- OMERO_VERSION="OMERO-build"
environment:
- CONFIG_omero_db_host=database
- CONFIG_omero_db_user=omero
Expand All @@ -25,10 +30,11 @@ services:
networks:
- omero
ports:
- "4063:4063"
- "4064:4064"
- "${TCP_PORT}4063"
- "${SSL_PORT}4064"
volumes:
- "omero:/OMERO"
- "./:/src:ro"

networks:
omero:
Expand Down

0 comments on commit b0274b6

Please sign in to comment.