Skip to content

Commit

Permalink
only deploy postgis and dynamo in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
zerj9 committed Oct 11, 2024
1 parent bfad25f commit 9b057d6
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,11 @@ services:
ports:
- "5432:5432"

martin:
image: ghcr.io/maplibre/martin
container_name: gridwalk-martin
depends_on:
- geodatabase
environment:
- PGPASSWORD=password
- DATABASE_URL=postgresql://admin:password@geodatabase:5432/gridwalk
volumes:
- ./martin.yaml:/config/martin.yaml
command: --config /config/martin.yaml

gridwalk:
build:
context: .
dockerfile: Dockerfile
container_name: gridwalk-app
depends_on:
- geodatabase
- martin
dynamodb:
image: amazon/dynamodb-local:latest
container_name: gridwalk-dynamodb
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgresql://admin:password@geodatabase:5432/gridwalk
- TILE_SERVER_URL=http://martin:8080
- "8000:8000"
volumes:
- ./local/dynamodb:/home/dynamodblocal/data
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath /home/dynamodblocal/data"

0 comments on commit 9b057d6

Please sign in to comment.