Skip to main content

Server Configuration

All data is stored and managed under /docker, which the pbr_admin server user has read/write permissions to. 

Under /docker is the following file structure

image.png

All Application Volumes are mapped inside of appdata/SERVICE

All compose files for individual service containers are inside compose/SERVICE

ENV files required for specific services, eg. Snipe-IT and Xibo - are located inside of env/SERVICE.env and are manually referenced inside their respective compose .yml file. 

Including items inside these .env files will not be called on container boot, only once initialised. If you are referring to variables inside of the services compose .yml, you will need to reference these inside of the higher tier .env in the /docker directory

Secrets, including sensitive API keys and passwords, instead of being stored in plaintext in files, are kept inside of secrets/SECRET_NAME and referred to inside of the global docker-compose.yml, as well as the individual compose/SERVICE.yml

Below is an example of the global docker-compose.yml

image.png

And a subsequent service.yml file, including exposure to Traefik (seperate article)

image.png