Update compose files

This commit is contained in:
John Lees-Miller
2020-05-30 10:37:38 +01:00
parent 840940f3a5
commit 9de44dd735
3 changed files with 33 additions and 21 deletions

View File

@ -1,13 +1,16 @@
db:
image: postgres:10
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- '5432:5432'
version: '3.8'
web:
build: .
ports:
- '3000:3000'
links:
- db
services:
db:
image: postgres:10
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- '5432:5432'
web:
build: .
ports:
- '3000:3000'
links:
- db