Updated nextcloud to use docker network and caddy
This commit is contained in:
1 parent
5b8d77c839
commit
b727fa7c00
12 files changed
+61
-313
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user