-
Hi, all! While conjuring a deployable Weblate setup with Ansible, I ran into a problem with configuration files and persistent volumes. Specifically, I'm looking to setup Weblate behind a reverse proxy acting as an SAML SP and using Django's remote user authentication. In order to have Django read the username from HTTP headers set by the reverse proxy and populate new users e-mail addresses from those headers I need to mount the following files at
These files are under version control and to deploy them with Ansible, I build a new docker image upon Weblate's official one like so (here, FROM weblate/weblate:5.9.2.2
COPY weblate /app/data However, according to the docs, a persistent volume should be mounted at How would you deal with this situation? Is it possible to separate the locations of these configuration files and whatever Weblate writes in Thanks for making Weblate! 🤗 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you want to customize the Docker container, there is a documented way to do that, see https://docs.weblate.org/en/latest/admin/install/docker.html#overriding-settings-by-extending-the-docker-image |
Beta Was this translation helpful? Give feedback.
If you want to customize the Docker container, there is a documented way to do that, see https://docs.weblate.org/en/latest/admin/install/docker.html#overriding-settings-by-extending-the-docker-image