Updated nextcloud to use docker network and caddy

This commit is contained in:
tanshu committed 2026-02-27 08:17:18 +00:00
1 parent 5b8d77c839
commit b727fa7c00
12 files changed
+61 -313

No files matched your search

+18 -6
View File
@@ -1,12 +1,24 @@
---
http_host: "cloud.hopsngrains.com"
http_conf: "cloud.hopsngrains.com.conf"
container_name: nextcloud
container_image: nextcloud:latest
container_name: cloud
container_image: nextcloud:fpm
docker_network: nextcloud_net
web_container_name: cloud-web
web_container_image: nextcloud-web
postgres_container: postgres
caddy_container: caddy
redis_container: valkey
host: cloud.hopsngrains.com
caddyfile_path: /var/lib/caddy/conf/Caddyfile
snippet_block: |
{{ host }} {
reverse_proxy {{ container_name }}:80
header {
Strict-Transport-Security "max-age=15552000; includeSubDomains; preload"
}
}
host_directory: nextcloud