Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

Commit

Permalink
add docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Jan 23, 2017
1 parent 90fc6ad commit 5b79b49
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '2'
# More services can be found in docker-compose-full.yml
services:
loris:
image: lorisimageserver/loris
ports:
- "5004:5004"
volumes:
- ./tmp/derivatives:/usr/local/share/images
geoserver:
image: geoconcerns/geoserver
ports:
- "8181:8080"
volumes:
- ./tmp/geo-derivatives:/opt/geoserver/data_dir/derivatives
10 changes: 10 additions & 0 deletions run-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh
docker-machine start
eval $(docker-machine env)
docker-compose up -d
# forward geoserver docker port in the background
docker-machine ssh default -f -N -L 8181:localhost:8181
# forward loris docker port in the background
docker-machine ssh default -f -N -L 5004:localhost:5004

export PLUM_IIIF_URL="http://localhost:5004"

0 comments on commit 5b79b49

Please sign in to comment.