Skip to content

Commit

Permalink
Split mapcache & mapserver Docker repos
Browse files Browse the repository at this point in the history
Instead of sharing a repository, make each of them have its own.

See #721
  • Loading branch information
matiasgarciaisaia committed Mar 12, 2024
1 parent 62a817b commit 45e9ac1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 27 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ if [[ -z "$DOCKER_TAG" ]]; then
fi

dockerBuildAndPush
dockerBuildAndPush -d mapserver -s "-mapserver" -t "-mapserver" -o "-f mapserver/Dockerfile.mapserver"
dockerBuildAndPush -d mapserver -s "-mapserver" -t "-mapcache" -o "-f mapserver/Dockerfile.mapcache"
dockerBuildAndPush -d mapserver -s "-mapserver" -o "-f mapserver/Dockerfile.mapserver"
dockerBuildAndPush -d mapserver -s "-mapcache" -o "-f mapserver/Dockerfile.mapcache"
dockerBuildAndPush -d scripts -s "-tools"
4 changes: 2 additions & 2 deletions docker-cloud.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ web:
- mapserver-data

mapcache:
image: instedd/planwise-mapserver:kenya-mapcache
image: instedd/planwise-mapcache:kenya
autorestart: always
autoredeploy: true

mapserver:
image: instedd/planwise-mapserver:kenya-mapserver
image: instedd/planwise-mapserver:kenya
autorestart: always
autoredeploy: true
volumes_from:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ services:

mapcache:
container_name: planwise-prod-mapcache
image: instedd/planwise-mapserver:kenya-mapcache
image: instedd/planwise-mapcache:kenya
pid: host

mapserver:
container_name: planwise-prod-mapserver
image: instedd/planwise-mapserver:kenya-mapserver
image: instedd/planwise-mapserver:kenya
pid: host
volumes:
- data:/data
Expand Down
19 changes: 0 additions & 19 deletions mapserver/build-and-push.sh

This file was deleted.

4 changes: 2 additions & 2 deletions mapserver/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mapcache:
image: instedd/planwise-mapserver:mapcache
image: instedd/planwise-mapcache
# build: .
# dockerfile: Dockerfile.mapcache
volumes:
Expand All @@ -10,7 +10,7 @@ mapcache:
- "5002:80"

mapserver:
image: instedd/planwise-mapserver:mapserver
image: instedd/planwise-mapserver
# build: .
# dockerfile: Dockerfile.mapserver
volumes:
Expand Down

0 comments on commit 45e9ac1

Please sign in to comment.