Navigating the File System
Once your instance is up & running, knowing where things live will be important for further upgrades and maintenance (should it be needed). Here’s where to find those pieces on the file system of your virtual machine.
Application Files
All application code for Plausible is housed in /opt/plausible
. In that directory, there are two particularly important files:
docker-compose.yml
This defines how the Docker containers that power your instance are configured. You quickly view the contents of that file by running the following:
cat /opt/plausible/docker-compose.yml
plausible-conf.env
This is where all configuration variables for Plausible reside. After spinning up your instance, all that’s in this file is what’s minimally required, but more configuration options are available.
View the contents of this file by running the following:
cat /opt/plausible/plausible-conf.env
Server Configuration
All nginx and TLS/SSL configuration lives in lives in the /etc/nginx/sites-available/plausible.conf
file. View its contents by running the following:
cat /etc/nginx/sites-available/plausible.conf