23 lines
805 B
YAML
23 lines
805 B
YAML
# Glance - A modern dashboard for your self-hosted services
|
|
# Documentation: https://glanceapp.io/docs
|
|
|
|
services:
|
|
glance:
|
|
# Basic container configuration
|
|
container_name: glance
|
|
image: glanceapp/glance:v0.8.4 # Official Glance image with version
|
|
restart: unless-stopped # Automatically restart unless explicitly stopped
|
|
|
|
# Environment variables configuration
|
|
environment:
|
|
- MY_SECRET_TOKEN=${MY_SECRET_TOKEN} # Secret token for API authentication
|
|
|
|
# Persistent storage configuration
|
|
volumes:
|
|
- ${APPDATA_PATH}/glance/config:/app/config # Configuration files
|
|
- ${APPDATA_PATH}/glance/assets:/app/assets # Static assets and cache
|
|
|
|
# Network configuration
|
|
ports:
|
|
- ${PORT}:8080 # Map host port to container port (host:container)
|