# docker-compose-glance.yml name: glance services: glance: container_name: glance image: glanceapp/glance:latest restart: unless-stopped volumes: # Relative to project_src (~/.ansible-compose/glance), so no username is # hardcoded. The playbook creates this directory and uploads glance.yml. # The image entrypoint is /app/glance --config /app/config/glance.yml, # so the file must be named exactly glance.yml. - ./config:/app/config - /etc/localtime:/etc/localtime:ro environment: # Used by the calendar widget and by relative timestamps - TZ=Europe/Prague env_file: # Deployed by the playbook from the persistent env file on the VM. # Provides GITHUB_TOKEN, referenced from glance.yml as ${GITHUB_TOKEN}. - .env ports: - '9445:8080'