martin/docker-compose.yml

23 lines
430 B
YAML
Raw Normal View History

2019-08-28 14:04:15 +03:00
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