mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 19:44:31 +08:00
refactor compose.yaml: adjust the caddy setup to feature inline config
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
a0ce2c1bec
commit
d35d97b316
1 changed files with 27 additions and 14 deletions
41
compose.yaml
41
compose.yaml
|
@ -35,21 +35,34 @@ services:
|
||||||
# WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock'
|
# WATCHTOWER_DOCKER_SOCKET_PATH: /var/run/docker.sock # Needs to be specified if the docker socket on the host is not located in the default '/var/run/docker.sock'. Otherwise mastercontainer updates will fail. For macos it needs to be '/var/run/docker.sock'
|
||||||
# security_opt: ["label:disable"] # Is needed when using SELinux
|
# security_opt: ["label:disable"] # Is needed when using SELinux
|
||||||
|
|
||||||
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
|
# # Optional: Caddy reverse proxy. See https://github.com/nextcloud/all-in-one/discussions/575
|
||||||
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
|
# # Hint: You need to uncomment APACHE_PORT: 11000 above, adjust cloud.example.com to your domain and uncomment the necessary docker volumes at the bottom of this file in order to make it work
|
||||||
# caddy:
|
# # You can find further examples here: https://github.com/nextcloud/all-in-one/discussions/588
|
||||||
# image: caddy:alpine
|
# caddy:
|
||||||
# restart: always
|
# image: caddy:alpine
|
||||||
# container_name: caddy
|
# restart: always
|
||||||
# volumes:
|
# container_name: caddy
|
||||||
# - ./Caddyfile:/etc/caddy/Caddyfile
|
# volumes:
|
||||||
# - ./certs:/certs
|
# - caddy_certs:/certs
|
||||||
# - ./config:/config
|
# - caddy_config:/config
|
||||||
# - ./data:/data
|
# - caddy_data:/data
|
||||||
# - ./sites:/srv
|
# - caddy_sites:/srv
|
||||||
# network_mode: "host"
|
# network_mode: "host"
|
||||||
|
# configs:
|
||||||
|
# - source: Caddyfile
|
||||||
|
# target: /etc/caddy/Caddyfile
|
||||||
|
# configs:
|
||||||
|
# Caddyfile:
|
||||||
|
# content: |
|
||||||
|
# # Adjust cloud.example.com to your domain below
|
||||||
|
# https://cloud.example.com:443 {
|
||||||
|
# reverse_proxy localhost:11000
|
||||||
|
# }
|
||||||
|
|
||||||
volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
|
volumes: # If you want to store the data on a different drive, see https://github.com/nextcloud/all-in-one#how-to-store-the-filesinstallation-on-a-separate-drive
|
||||||
nextcloud_aio_mastercontainer:
|
nextcloud_aio_mastercontainer:
|
||||||
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
|
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
|
||||||
|
# caddy_certs:
|
||||||
|
# caddy_config:
|
||||||
|
# caddy_data:
|
||||||
|
# caddy_sites:
|
||||||
|
|
Loading…
Reference in a new issue