forked from mystiq/sso
feat: use local_settings in docker-compose
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
d1cb6b1b95
commit
2e9cc6aa7f
3 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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/
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue