chore: set app img to restart always and downgrade docker-compose version

This commit is contained in:
Aravinth Manivannan 2022-08-22 17:53:13 +05:30
parent 33e9d830f8
commit b5e1bc9d5e
Signed by untrusted user: realaravinth
GPG key ID: AD9F0F08E855ED88

View file

@ -1,4 +1,4 @@
version: "3.9" version: "3.3"
services: services:
# db: # db:
@ -12,6 +12,7 @@ services:
web: web:
# build: . # build: .
image: realaravinth/mystiq-sso:latest image: realaravinth/mystiq-sso:latest
restart: always
command: > command: >
sh -c "python manage.py makemigrations && sh -c "python manage.py makemigrations &&
python manage.py migrate && python manage.py migrate &&