Add docker-compose-guide.yml
This commit is contained in:
parent
0462b9f376
commit
788ade15b1
11
docker-compose-guide.yml
Normal file
11
docker-compose-guide.yml
Normal file
@ -0,0 +1,11 @@
|
||||
# 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 ./<service>/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.
|
||||
Loading…
x
Reference in New Issue
Block a user