new-site/infra/ansible/roles/sftpgo/templates/sftpgo.json.j2
justin f8cd37ac8c Initial commit — Performance West telecom compliance platform
Includes: API (Express/TypeScript), Astro site, Python workers,
document generators, FCC compliance tools, Canada CRTC formation,
Ansible infrastructure, and deployment scripts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 06:54:22 -05:00

79 lines
2 KiB
Django/Jinja

{
"sftpd": {
"bindings": [
{
"address": "0.0.0.0",
"port": {{ sftpgo_sftp_port }}
}
],
"max_auth_tries": 3,
"banner": "Performance West CDR Ingestion — authorized use only",
"host_keys": ["/var/lib/sftpgo/host_keys/ssh_host_ed25519_key",
"/var/lib/sftpgo/host_keys/ssh_host_rsa_key"]
},
"ftpd": {
"bindings": [
{
"address": "0.0.0.0",
"port": {{ sftpgo_ftps_port }},
"apply_proxy_config": false,
"tls_mode": 2,
"force_passive_ip": "",
"passive_ip_overrides": [],
"passive_connections_security": 0
}
],
"passive_port_range": {
"start": {{ sftpgo_passive_port_min }},
"end": {{ sftpgo_passive_port_max }}
},
"certificate_file": "/var/lib/sftpgo/certs/fullchain.pem",
"certificate_key_file": "/var/lib/sftpgo/certs/privkey.pem"
},
"httpd": {
"bindings": [
{
"address": "127.0.0.1",
"port": {{ sftpgo_admin_port }},
"enable_web_admin": true,
"enable_web_client": false,
"enable_rest_api": true
}
]
},
"data_provider": {
"driver": "postgresql",
"name": "{{ sftpgo_pg_database }}",
"host": "{{ sftpgo_pg_host }}",
"port": {{ sftpgo_pg_port }},
"username": "{{ sftpgo_pg_username }}",
"password": "{{ sftpgo_pg_password }}",
"sslmode": 0,
"track_quota": 2
},
"common": {
"idle_timeout": 15,
"upload_mode": 0,
"actions": {
"execute_on": ["upload"],
"execute_sync": []
}
},
"filesystems": [
{
"fs_type": "s3",
"name": "minio_default",
"params": {
"bucket": "{{ sftpgo_minio_bucket }}",
"endpoint": "{{ sftpgo_minio_endpoint }}",
"region": "us-east-1",
"access_key": "{{ sftpgo_minio_access_key }}",
"access_secret": {
"status": "Plain",
"payload": "{{ sftpgo_minio_secret_key }}"
},
"force_path_style": true
}
}
]
}