# Docker Compose GUIDE for this Server # 1. No comments in the rest of the file. This top block is the only exception. # 2. All containers that are part of the same service must have the service name as a prefix. # Example: headscale, headscale-database, headscale-ui, etc. # 3. DO NOT use Docker volumes. Use only bind mounts with relative paths like .//folder # Example: ./headscale/data:/data # 4. To expose services over HTTP/HTTPS, you must use Traefik. # 5. Use env_file for environment variables. # - File must be stored in the service folder, e.g., ./headscale/.env.headscale # - Containers related to the same service must use the same .env file # 6. These rules must also be followed by AI-generated configurations and edits.