23 lines
850 B
YAML
23 lines
850 B
YAML
# 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'
|