This is a user-friendly Docker compose directory structure template for Glance with most things configured and ready to use, such as the ability to add assets, custom CSS, environment variables, page includes, etc. The files can be found in the root directory of this repository.
Create a new directory called glance as well as the template files within it by running:
mkdir glance && cd glance && curl -sL https://github.com/glanceapp/docker-compose-template/archive/refs/heads/main.tar.gz | tar -xzf - --strip-components 2Then, edit the following files as desired:
docker-compose.ymlto configure the port, volumes and other containery thingsconfig/home.ymlto configure the widgets or layout of the home pageconfig/glance.ymlif you want to change the theme or add more pages.envto configure environment variables that will be available inside configuration filesassets/user.cssto add custom CSS
When ready, run:
docker compose up -dIf you encounter any issues, you can check the logs by running:
docker compose logs