Add deployment stuffs
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user