martin/docker-compose.yml
2019-08-30 18:42:24 +03:00

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