Skip to content

Commit

Permalink
Merge pull request #21 from geoadmin/ltbam-patch-1
Browse files Browse the repository at this point in the history
Update docker-compose.yml
  • Loading branch information
ltbam authored Sep 19, 2023
2 parents e0f06b6 + 6dbe35c commit cac8393
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
volumes:
postgis-data-v2:
packages-v2: # do not change any detail of this volume
postgis-data:
packages: # do not change any detail of this volume
driver: local
driver_opts:
type: none
Expand All @@ -9,15 +9,15 @@ volumes:

# It's important it runs in its own private network, also more secure
networks:
routing-packager-v2:
routing-packager:

version: '3.2'
services:
postgis:
image: kartoza/postgis:12.1
container_name: routing-packager-postgis
volumes:
- postgis-data-v2:/var/lib/postgresql
- postgis-data:/var/lib/postgresql
environment:
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_MULTIPLE_EXTENSIONS=postgis
Expand Down Expand Up @@ -49,7 +49,7 @@ services:
networks:
- routing-packager
volumes:
- packages-v2:/app/data
- packages:/app/data
- $PWD/.docker_env:/app/.env # Worker needs access to .env file
depends_on:
- postgis
Expand All @@ -66,7 +66,7 @@ services:
env_file:
- .docker_env
volumes:
- packages-v2:/app/data
- packages:/app/data
- $PWD/ssl:/app/ssl # optional SSL certificate for gunicorn
- $PWD/.docker_env:/app/.env # CLI needs access to .env file
- $PWD/logs:/var/log # could be refined to have a folder within /var/log
Expand Down

0 comments on commit cac8393

Please sign in to comment.