forked from jakub/ansible
feat: add Glance service and configuration files for deployment
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user