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,3 +1,6 @@
web:
version: '3.8'
services:
web:
env_file:
- development.env.template

View File

@ -1,6 +1,12 @@
web:
version: '3.8'
services:
web:
volumes:
- .:/home/app/wedding
- /usr/local/bundle
- web_bundle:/usr/local/bundle
env_file:
- development.env
volumes:
web_bundle:

View File

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