]> git.openstreetmap.org Git - rails.git/blob - docker-compose.yml
Update INSTALL.md to restore original graf
[rails.git] / docker-compose.yml
1 version: "3"
2
3 services:
4   web:
5     build:
6       context: .
7     volumes:
8       - .:/app
9     ports:
10       - "3000:3000"
11     command: bundle exec rails s -p 3000 -b '0.0.0.0'
12     depends_on:
13       - db
14
15   db:
16     build:
17       context: .
18       dockerfile: docker/postgres/Dockerfile
19     ports:
20       - "54321:5432"
21     environment:
22       POSTGRES_HOST_AUTH_METHOD: trust
23       POSTGRES_DB: openstreetmap
24     volumes:
25       - ./docker-db-data:/var/lib/postgresql/data