Remove local settings from migration and collectstatic definitions

Mark Veidemanis 2 years ago
parent 31ab33d6f2
commit 3b26d413a6
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -27,7 +27,6 @@ services:
command: sh -c '. /venv/bin/activate && python manage.py migrate --noinput'
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py
- ${APP_DATABASE_FILE}:/code/db.sqlite3
env_file:
- ../stack.env
@ -38,7 +37,6 @@ services:
command: sh -c '. /venv/bin/activate && python manage.py collectstatic --noinput'
volumes:
- ${PORTAINER_GIT_DIR}:/code
- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py
- ${APP_DATABASE_FILE}:/code/db.sqlite3
env_file:
- ../stack.env

Loading…
Cancel
Save