mirror of
https://github.com/maplibre/martin.git
synced 2024-12-18 20:31:54 +03:00
23 lines
430 B
YAML
23 lines
430 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
|
||
|
environment:
|
||
|
- POSTGRES_DB=db
|
||
|
- POSTGRES_USER=postgres
|
||
|
volumes:
|
||
|
- ./pg_data:/var/lib/postgresql/data
|