Solve ldap errors
This commit is contained in:
parent
d9bea9eb37
commit
fe04a79d35
3 changed files with 12 additions and 2 deletions
|
@ -48,4 +48,5 @@ RUN a2ensite re2o
|
|||
|
||||
# HERE WE GO
|
||||
FROM re2o_apache as re2o
|
||||
CMD service apache2 stop && python3 manage.py migrate && python3 manage.py collectstatic --noinput && python3 manage.py compilemessages && service apache2 start && sleep infinity
|
||||
COPY ./re2o-dev.sh /var/www/re2o/
|
||||
CMD bash re2o-dev.sh
|
||||
|
|
|
@ -5,7 +5,7 @@ This is simply a docker environment to dev re2o locally.
|
|||
To use it :
|
||||
|
||||
* clone Re2o;
|
||||
* copy `Dockerfile` and `docker-compose.yml` into the cloned directory;
|
||||
* copy `Dockerfile`, `re2o-dev.sh` and `docker-compose.yml` into the cloned directory;
|
||||
* copy `settings_local.py` into the `re2o` folder in the cloned directory;
|
||||
* run `docker-compose up`
|
||||
|
||||
|
|
9
re2o-dev.sh
Normal file
9
re2o-dev.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
service apache2 stop
|
||||
python3 manage.py migrate
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py compilemessages
|
||||
service apache2 start
|
||||
service slapd start
|
||||
sleep infinity
|
Loading…
Add table
Add a link
Reference in a new issue