Skip to content

glanceapp/docker-compose-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

Usage

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 2

Then, edit the following files as desired:

  • docker-compose.yml to configure the port, volumes and other containery things
  • config/home.yml to configure the widgets or layout of the home page
  • config/glance.yml if you want to change the theme or add more pages
  • .env to configure environment variables that will be available inside configuration files
  • assets/user.css to add custom CSS

When ready, run:

docker compose up -d

If you encounter any issues, you can check the logs by running:

docker compose logs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks