feat: use local_settings in docker-compose
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Aravinth Manivannan 2022-08-22 17:32:31 +05:30
parent d1cb6b1b95
commit 2e9cc6aa7f
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
3 changed files with 6 additions and 3 deletions

View file

@ -158,3 +158,6 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
sso/local_settings.py
sso/local_settings/local_settings.py

View file

@ -1,8 +1,8 @@
FROM python:3
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN useradd -ms /bin/bash -u 1001 mystiq-sso
USER mystiq-sso
#RUN useradd -ms /bin/bash -u 1001 mystiq-sso
#USER mystiq-sso
WORKDIR /code
LABEL org.opencontainers.image.source https://git.batsense.net/mystiq/sso
COPY requirements.txt /code/

View file

@ -17,7 +17,7 @@ services:
python manage.py migrate &&
python manage.py runserver 0.0.0.0:8000"
volumes:
- .:/code
- ./sso/local_settings:/code/sso/local_settings/
ports:
- 8000:8000
# environment: