Add CAS
This commit is contained in:
parent
9d16b90d0d
commit
aac1b403db
10 changed files with 289 additions and 3 deletions
21
django-cas-server/Dockerfile
Normal file
21
django-cas-server/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM python:3-buster
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV DJANGO_DB_NAME=cas
|
||||
ENV DJANGO_DB_HOST=postgres
|
||||
ENV DJANGO_DB_USER=cas
|
||||
ENV DJANGO_HOST=cas.auro.re
|
||||
ENV DJANGO_CAS_LDAP_SERVER=10.128.0.11
|
||||
ENV DJANGO_CAS_LDAP_USER=cn=cas,ou=service-users,dc=auro,dc=re
|
||||
ENV DJANGO_CAS_LDAP_BASE_DN=cn=Utilisateurs,dc=auro,dc=re
|
||||
|
||||
RUN mkdir /code
|
||||
WORKDIR /code
|
||||
|
||||
COPY requirements.txt /code/
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /code/
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
EXPOSE 8000
|
Loading…
Add table
Add a link
Reference in a new issue