Commit 633da063 authored by Mikaël Salson's avatar Mikaël Salson

docker/CHANGELOG, doc/server.md: Document the Web2py password setup

See #3698
parent 8a043f20
Pipeline #105737 passed with stages
in 7 minutes and 1 second
......@@ -309,6 +309,20 @@ cd /usr/share/vidjil/server
sh backup.sh vidjil /mnt/backup >> /var/log/cron.log 2>&1
```
## I can't connect to the web2py administration site
The URL to this site is https://mywebsite/admin/default/.
The password should be given in the `docker-compose.yml` file.
Otherwise a random password is generated. You can still modify
this password by connecting to the server (in the `uwsgi` container).
Go in the the `/usr/share/vidjil/server/web2py` directory and then
launch Python.
```python
from gluon.main import save_password
save_password(PASSWORD, 443)
```
This password will not persist when the container will be restarted.
For a persistent password, please use the environment variable.
# Docker -- Updating a Docker installation
## Before the update
......
......@@ -3,6 +3,9 @@ This CHANGELOG concerns the Docker images of vidjil.
We publish here notes to help to update these images.
See <http://www.vidjil.org/doc/server>
vidjil/server:2019-11-27-XXXXXXX
- The web2py password is now provided through an environment
variable in the docker-compos.yml file.
vidjil/server:2018-10-19-3a690203
vidjil/client:2018-10-18-f959661a
- Tag initialization while creating the database
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment