Merge pull request 'chore: set app img to restart always and downgrade docker-compose version' (#4) from realaravinth/mystiq-sso:chore-docker-restart-compose-version into master
ci/woodpecker/push/woodpecker Pipeline was successful Details

Reviewed-on: #4
This commit is contained in:
Alan Alexander Thomas 2022-08-22 19:47:52 +05:30
commit 77b01cec1c
1 changed files with 2 additions and 1 deletions

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 &&