Add deployment stuffs

This commit is contained in:
Jan Tuomi
2017-09-15 15:40:17 +03:00
parent 2c9c1a76c8
commit b0235d6089
5 changed files with 226 additions and 10 deletions
+15
View File
@@ -0,0 +1,15 @@
version: '3'
services:
db:
image: postgres
web:
build: .
image: 86.50.143.82:5000/web20
command: ["bash", "-c", "./.wait-for-it.sh db:5432 -- bash setup.py --no-input"]
volumes:
- .:/code
ports:
- "8080:8080"
depends_on:
- db