Skip to content

Commit

Permalink
first draft of docker-compose.yml (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson Herbin committed Jul 29, 2018
1 parent fb265c1 commit c5bb935
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: '2.1'

services:

# postgres database
db:
image: mdillon/postgis:9.6-alpine
volumes:
- pgdata:/var/lib/postgresql/data
- ./_provisioning/db/init:/docker-entrypoint-initdb.d
- ./_dumps:/dumps
environment:
POSTGRES_PASSWORD: $DB_PASSWORD
POSTGRES_USER: $DB_USER
working_dir: /usr/src/app

api:
build:
context: ./_provisioning/api
ui:
build:
context: ./_provisioning/ui
ports:
3000:3000

daemon:
build:
context: ./daemon

volumes:
pgdata:

0 comments on commit c5bb935

Please sign in to comment.