feat: add Glance service and configuration files for deployment

This commit is contained in:
martin.fencl
2026-09-01 09:04:33 +02:00
parent 82fe219c75
commit 029a82de06
3 changed files with 198 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
# docker-compose-glance.yml
services:
glance:
container_name: glance
image: glanceapp/glance:latest
restart: unless-stopped
volumes:
# Relative to project_src (~/.ansible-compose), so no username is hardcoded.
# The playbook creates this directory and uploads glance.yml into it.
# The image entrypoint is /app/glance --config /app/config/glance.yml,
# so the file must be named exactly glance.yml.
- ./glance/config:/app/config
environment:
# Used by the calendar widget and by relative timestamps
- TZ=Europe/Prague
# Optional: raises the GitHub API limit for the releases widget.
# Referenced from glance.yml as ${GITHUB_TOKEN}; inject it as a
# Semaphore secret instead of committing it here.
# - GITHUB_TOKEN=${GITHUB_TOKEN}
ports:
- '9445:8080'