Add new Dockerfile for prod

This commit is contained in:
Aarni Halinen
2019-10-07 19:56:55 +03:00
parent bd8fc6b404
commit e3d0709b31
5 changed files with 74 additions and 2 deletions
+4
View File
@@ -3,6 +3,8 @@ version: '3'
services:
db:
image: postgres
volumes:
- db-data:/var/lib/postgresql/data
web:
build: .
image: registry.gitlab.com/sahkoinsinoorikilta/vtmk/web2.0-backend
@@ -11,3 +13,5 @@ services:
- "8000:8000"
depends_on:
- db
volumes:
db-data: {}