mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 07:22:52 +03:00
25 lines
459 B
YAML
25 lines
459 B
YAML
version: "3"
|
|
|
|
services:
|
|
martin:
|
|
image: urbica/martin
|
|
restart: unless-stopped
|
|
ports:
|
|
- 3000:3000
|
|
environment:
|
|
- WATCH_MODE=true
|
|
- DATABASE_URL=postgres://postgres@db/db
|
|
depends_on:
|
|
- db
|
|
|
|
db:
|
|
image: mdillon/postgis:11-alpine
|
|
restart: unless-stopped
|
|
ports:
|
|
- 5432:5432
|
|
environment:
|
|
- POSTGRES_DB=db
|
|
- POSTGRES_USER=postgres
|
|
volumes:
|
|
- ./pg_data:/var/lib/postgresql/data
|