Remove local settings from migration and collectstatic definitions
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user