Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (20 sloc) 343 Bytes
version: '2'
services:
postgres:
image: postgres
environment:
POSTGRES_USER: mtsar
POSTGRES_PASSWORD: mtsar
volumes:
- './postgres:/var/lib/postgresql/data'
expose:
- '5432'
app:
build: .
volumes:
- './log:/mtsar/log'
ports:
- '8080:8080'
- '8081:8081'
links:
- postgres