Remove local settings from migration and collectstatic definitions

This commit is contained in:
Mark Veidemanis 2022-10-15 22:09:38 +01:00
parent 31ab33d6f2
commit 3b26d413a6
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 0 additions and 2 deletions

View File

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