mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
This commit is contained in:
40
examples/gzctf/appsettings.json
Normal file
40
examples/gzctf/appsettings.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"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>"
|
||||
},
|
||||
"ForwardedOptions": {
|
||||
"ForwardedHeaders": 7,
|
||||
"ForwardLimit": 1,
|
||||
"TrustedNetworks": ["192.168.12.0/8"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user