services: glance: image: glanceapp/glance # Uses the official Glance Docker image. container_name: glance # Assigns a custom container name for easy management. volumes: - /home/miker/dockerapps/glance/config:/app/config # Mounts the glance.yml configuration file. - /etc/timezone:/etc/timezone:ro # Ensures container timezone sync. - /etc/localtime:/etc/localtime:ro # Ensures container localtime sync. ports: - 8280:8080 # Exposes Glance on port 8280. restart: unless-stopped # Restarts container unless manually stopped. healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8280"] interval: 10s retries: 3 timeout: 10s start_period: 30s