This PR aims to simplify permissions in $DATA_DIR volume mounted into Plausible container. After adding automatic TLS we would be mounting a volume in docker-compose.yml by default to persist the certificates across restarts, so I thought we might as well allow writes for it by default too.
Before
User needs to create a directory on the host and set the correct permissions manually.
After that it can be mounted into the container.
Changes
This PR aims to simplify permissions in
$DATA_DIR
volume mounted into Plausible container. After adding automatic TLS we would be mounting a volume indocker-compose.yml
by default to persist the certificates across restarts, so I thought we might as well allow writes for it by default too.Before
User needs to create a directory on the host and set the correct permissions manually. After that it can be mounted into the container.
console
docker-compose.yml
After
A named volume can be mounted into the container without any extra steps.
docker-compose.yml
Tests
Changelog
Documentation
Dark mode