mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-09-19 01:37:24 +00:00
* Add ui secret for caddy integration fixes https://github.com/szaimen/aio-caddy/pull/167 Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add description of caddy integration fixes https://github.com/szaimen/aio-caddy/pull/167 Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add secret for glances container fixes https://github.com/szaimen/aio-caddy/pull/167 Signed-off-by: derStephan <derStephan@users.noreply.github.com> * Update community-containers/glances/readme.md Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: derStephan <derStephan@users.noreply.github.com> * Update community-containers/caddy/caddy.json Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add glances container to caddy add Signed-off-by: derStephan <derStephan@users.noreply.github.com> * Update community-containers/glances/readme.md Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add secrets section for caddy Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add docker.sock to json validator Signed-off-by: derStephan <derStephan@users.noreply.github.com> * fix validator issue Signed-off-by: derStephan <derStephan@users.noreply.github.com> * docker socket removed from schema on maintainer's request. Signed-off-by: derStephan <derStephan@users.noreply.github.com> * add hint for user name Signed-off-by: derStephan <derStephan@users.noreply.github.com> --------- Signed-off-by: derStephan <derStephan@users.noreply.github.com> Co-authored-by: Simon L. <szaimen@e.mail.de>
58 lines
2.1 KiB
JSON
58 lines
2.1 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%",
|
|
"NEXTCLOUD_GLANCES_CADDY_PASSWORD=%NEXTCLOUD_GLANCES_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",
|
|
"NEXTCLOUD_GLANCES_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'"
|
|
]
|
|
}
|
|
]
|
|
}
|