mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-07-21 13:42:54 +00:00
0753c6c902
- caddy.json: pass DESEC_TOKEN to the caddy container so it can solve the DNS-01 challenge for the registered dedyn.io domain. - community-containers.twig: when the domain was registered via deSEC, explain that caddy and dnsmasq were enabled automatically and link the required dnsmasq router change, with a caution to disable dnsmasq on publicly reachable hosts. - compose.yaml: mention the built-in deSEC free domain option alongside Tailscale in the reverse-proxy hint. Co-Authored-By: szaimen <42591237+szaimen@users.noreply.github.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Simon L. <szaimen@e.mail.de>
56 lines
2.0 KiB
JSON
56 lines
2.0 KiB
JSON
{
|
|
"aio_services_v1": [
|
|
{
|
|
"container_name": "nextcloud-aio-caddy",
|
|
"display_name": "Caddy with geoblocking",
|
|
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy",
|
|
"image": "ghcr.io/szaimen/aio-caddy",
|
|
"image_tag": "v4",
|
|
"internal_port": "443",
|
|
"restart": "unless-stopped",
|
|
"ports": [
|
|
{
|
|
"ip_binding": "",
|
|
"port_number": "443",
|
|
"protocol": "tcp"
|
|
}
|
|
],
|
|
"environment": [
|
|
"TZ=%TIMEZONE%",
|
|
"NC_DOMAIN=%NC_DOMAIN%",
|
|
"APACHE_PORT=%APACHE_PORT%",
|
|
"APACHE_IP_BINDING=%APACHE_IP_BINDING%",
|
|
"NEXTCLOUD_EXPORTER_CADDY_PASSWORD=%NEXTCLOUD_EXPORTER_CADDY_PASSWORD%",
|
|
"DESEC_TOKEN=%DESEC_TOKEN%"
|
|
],
|
|
"volumes": [
|
|
{
|
|
"source": "nextcloud_aio_caddy",
|
|
"destination": "/data",
|
|
"writeable": true
|
|
},
|
|
{
|
|
"source": "%NEXTCLOUD_DATADIR%",
|
|
"destination": "/nextcloud",
|
|
"writeable": false
|
|
}
|
|
],
|
|
"secrets": [
|
|
"NEXTCLOUD_EXPORTER_CADDY_PASSWORD"
|
|
],
|
|
"aio_variables": [
|
|
"apache_ip_binding=@INTERNAL",
|
|
"apache_port=11000",
|
|
"turn_domain=%NC_DOMAIN%",
|
|
"talk_port=443"
|
|
],
|
|
"nextcloud_exec_commands": [
|
|
"mkdir '/mnt/ncdata/admin/files/nextcloud-aio-caddy'",
|
|
"touch '/mnt/ncdata/admin/files/nextcloud-aio-caddy/allowed-countries.txt'",
|
|
"echo 'Scanning nextcloud-aio-caddy folder for admin user...'",
|
|
"php /var/www/html/occ files:scan --path='/admin/files/nextcloud-aio-caddy'"
|
|
]
|
|
}
|
|
]
|
|
}
|