mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-08 20:14:05 +01:00
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"Database": "Host=db:5432;Database=gzctf;Username=postgres;Password=secure-gzctf-db-password",
|
|
"RedisCache": "cache:6379,abortConnect=false"
|
|
},
|
|
"EmailConfig": {
|
|
"SenderAddress": "",
|
|
"SenderName": "",
|
|
"UserName": "",
|
|
"Password": "",
|
|
"Smtp": {
|
|
"Host": "localhost",
|
|
"Port": 587
|
|
}
|
|
},
|
|
"XorKey": "<YOUR-RANDOM-XOR-KEY>",
|
|
"ContainerProvider": {
|
|
"Type": "Docker", // or "Kubernetes"
|
|
"PortMappingType": "Default", // or "PlatformProxy"
|
|
"EnableTrafficCapture": false,
|
|
"PublicEntry": "ctf.example.com", // or "xxx.xxx.xxx.xxx"
|
|
// optional
|
|
"DockerConfig": {
|
|
"SwarmMode": false,
|
|
"Uri": "unix:///var/run/docker.sock"
|
|
}
|
|
},
|
|
"CaptchaConfig": {
|
|
"Provider": "None", // or "CloudflareTurnstile" or "HashPow"
|
|
"SiteKey": "<Your SITE_KEY>",
|
|
"SecretKey": "<Your SECRET_KEY>"
|
|
},
|
|
"Registries": {
|
|
"ghcr.io": {
|
|
"UserName": "your-username",
|
|
"Password": "ghp_..."
|
|
}
|
|
},
|
|
"ForwardedOptions": {
|
|
"ForwardedHeaders": 7,
|
|
"ForwardLimit": 1,
|
|
"TrustedNetworks": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"]
|
|
}
|
|
}
|
|
|