rename podman_ projects to container_
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=Nextcloud AIO Master Container
|
||||
Documentation=https://github.com/nextcloud/all-in-one/blob/main/docker-rootless.md
|
||||
After=local-fs.target
|
||||
Requires=podman.socket
|
||||
|
||||
[Container]
|
||||
ContainerName=nextcloud-aio-mastercontainer
|
||||
Image=docker.io/nextcloud/all-in-one:latest
|
||||
PublishPort=0.0.0.0:11001:8080
|
||||
Volume=nextcloud_aio_mastercontainer:/mnt/docker-aio-config
|
||||
Volume=/run/user/1002/podman/podman.sock:/var/run/docker.sock:Z
|
||||
Network=bridge
|
||||
SecurityLabelDisable=true
|
||||
|
||||
Environment=APACHE_PORT=11000
|
||||
Environment=APACHE_IP_BINDING=0.0.0.0
|
||||
Environment=WATCHTOWER_DOCKER_SOCKET_PATH=/run/user/1002/podman/podman.sock
|
||||
Environment=NEXTCLOUD_DATADIR="/home/nextcloud/nextcloud_data"
|
||||
Environment=SKIP_DOMAIN_VALIDATION=true
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
441
active/container_nextcloud/nextcloud-aio.md
Normal file
441
active/container_nextcloud/nextcloud-aio.md
Normal file
@@ -0,0 +1,441 @@
|
||||
# Nextcloud AIO
|
||||
|
||||
- [Nextcloud AIO](#nextcloud-aio)
|
||||
- [Recommended Install](#recommended-install)
|
||||
- [Install with Rootless Podman](#install-with-rootless-podman)
|
||||
- [Create the nextcloud user](#create-the-nextcloud-user)
|
||||
- [Create the container autostart service](#create-the-container-autostart-service)
|
||||
- [Install Nextcloud](#install-nextcloud)
|
||||
- [Install Caddy](#install-caddy)
|
||||
- [Firewall](#firewall)
|
||||
- [Install with Docker](#install-with-docker)
|
||||
- [Backups](#backups)
|
||||
- [Manual Backups](#manual-backups)
|
||||
- [Maintenance Mode](#maintenance-mode)
|
||||
- [Trusted Proxy](#trusted-proxy)
|
||||
- [Default phone region](#default-phone-region)
|
||||
- [Adding existing files](#adding-existing-files)
|
||||
- [Theming](#theming)
|
||||
- [Changing the domain](#changing-the-domain)
|
||||
- [Uninstall](#uninstall)
|
||||
- [Edit QCOW](#edit-qcow)
|
||||
- [Exclude Lists](#exclude-lists)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Stuck in login screen](#stuck-in-login-screen)
|
||||
- [Freezing after working for a bit](#freezing-after-working-for-a-bit)
|
||||
- [Out of disk space](#out-of-disk-space)
|
||||
- [Redis can't dump its DB](#redis-cant-dump-its-db)
|
||||
- [Error connecting to server](#error-connecting-to-server)
|
||||
|
||||
<https://github.com/nextcloud/all-in-one>
|
||||
|
||||
## Recommended Install
|
||||
|
||||
<https://github.com/nextcloud/all-in-one#nextcloud-all-in-one>
|
||||
|
||||
1. Create Fedora VM
|
||||
2. [Install Docker](https://docs.docker.com/engine/install/fedora/)
|
||||
3. Create and mount a directory at `/srv/nextcloud-data`
|
||||
4. `scp active/podman_nextcloud/nextcloud-compose.yaml nextcloud:`
|
||||
5. `docker compose -f nextcloud-compose.yaml up -d`
|
||||
|
||||
## Install with Rootless Podman
|
||||
|
||||
Roughly taken from <https://github.com/nextcloud/all-in-one/discussions/3487>
|
||||
|
||||
This has been tested working on Fedora 41 with selinux and firewalld enabled.
|
||||
|
||||
### Create the nextcloud user
|
||||
|
||||
```bash
|
||||
useradd nextcloud
|
||||
loginctl enable-linger $(id -u nextcloud)
|
||||
systemctl --user --machine=nextcloud@.host enable podman-restart
|
||||
systemctl --user --machine=nextcloud@.host enable --now podman.socket
|
||||
su -l nextcloud
|
||||
mkdir -p /home/nextcloud/.config/containers/systemd
|
||||
exit
|
||||
```
|
||||
|
||||
### Create the container autostart service
|
||||
|
||||
Edit the autostart service to include "unless-stopped" containers.
|
||||
|
||||
```bash
|
||||
machinectl shell nextcloud@
|
||||
systemctl --user edit podman-restart.service
|
||||
```
|
||||
|
||||
```conf
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/podman $LOGGING start --all --filter restart-policy=always --filter restart-policy=unless-stopped
|
||||
ExecStop=/bin/sh -c '/usr/bin/podman $LOGGING stop $(/usr/bin/podman container ls --filter restart-policy=always --filter restart-policy=unless-stopped -q)'
|
||||
```
|
||||
|
||||
```bash
|
||||
systemctl --user daemon-reload
|
||||
```
|
||||
|
||||
### Install Nextcloud
|
||||
|
||||
On the operator
|
||||
|
||||
1. Edit `nextcloud-aio-mastercontainer.container` to include the correct username and UID where relevant.
|
||||
2. Copy the files to the server:
|
||||
|
||||
```bash
|
||||
# Copy the quadlet files
|
||||
scp \
|
||||
active/podman_nextcloud/nextcloud-aio-mastercontainer.container \
|
||||
3dserver:/home/nextcloud/.config/containers/systemd/
|
||||
|
||||
ssh chown -R nextcloud:nextcloud /home/nextcloud/.config/containers/systemd/
|
||||
```
|
||||
|
||||
On the server
|
||||
|
||||
```bash
|
||||
machinectl shell nextcloud@
|
||||
|
||||
# Create volumes
|
||||
mkdir nextcloud_data
|
||||
mkdir nextcloud_aio_mastercontainer
|
||||
|
||||
# Create the nextcloud network with ipv6
|
||||
podman network create --ipv6 nextcloud-aio
|
||||
|
||||
# Reload and restart the service
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user restart nextcloud-aio-mastercontainer
|
||||
```
|
||||
|
||||
### Install Caddy
|
||||
|
||||
As root
|
||||
|
||||
```bash
|
||||
mkdir /etc/caddy
|
||||
vim /etc/caddy/Caddyfile
|
||||
```
|
||||
|
||||
Caddy will automatically provision certificates if the server DNS points to the correct IP
|
||||
and is accessible on the ports specifified. All you need to do is put `https` in the caddy conf.
|
||||
|
||||
```conf
|
||||
https://nextcloud.reeseapps.com:443 {
|
||||
reverse_proxy 127.0.0.1:11000
|
||||
}
|
||||
|
||||
https://nextcloud.reeseapps.com:8443 {
|
||||
reverse_proxy 127.0.0.1:11001 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
vim /etc/containers/systemd/caddy.container
|
||||
```
|
||||
|
||||
```conf
|
||||
[Unit]
|
||||
Description=Caddy
|
||||
|
||||
[Container]
|
||||
AddCapability=NET_ADMIN
|
||||
ContainerName=caddy
|
||||
Image=docker.io/caddy:2
|
||||
Network=host
|
||||
SecurityLabelDisable=true
|
||||
Volume=/etc/caddy:/etc/caddy
|
||||
Volume=caddy_data:/data
|
||||
Volume=caddy_config:/config
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
```
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl start caddy
|
||||
```
|
||||
|
||||
### Firewall
|
||||
|
||||
Allow traffic to 11000 from your reverse proxy
|
||||
|
||||
## Install with Docker
|
||||
|
||||
```bash
|
||||
# For Linux and without a web server or reverse proxy already in place:
|
||||
sudo docker run \
|
||||
--init \
|
||||
--sig-proxy=false \
|
||||
--name nextcloud-aio-mastercontainer \
|
||||
--restart always \
|
||||
--publish 8080:8080 \
|
||||
--env APACHE_PORT=11000 \
|
||||
--env APACHE_IP_BINDING=0.0.0.0 \
|
||||
--env APACHE_ADDITIONAL_NETWORK="" \
|
||||
--env SKIP_DOMAIN_VALIDATION=false \
|
||||
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
|
||||
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
|
||||
ghcr.io/nextcloud-releases/all-in-one:latest
|
||||
```
|
||||
|
||||
## Backups
|
||||
|
||||
IMPORTANT: you will need both KEY AND PASSPHRASE to access this repo!
|
||||
If you used a repokey mode, the key is stored in the repo, but you should back it up separately.
|
||||
Use "borg key export" to export the key, optionally in printable format.
|
||||
Write down the passphrase. Store both at safe place(s).
|
||||
|
||||
```bash
|
||||
docker exec nextcloud-aio-borgbackup borg key export /mnt/borgbackup/borg/
|
||||
```
|
||||
|
||||
If you need to reset the borg backup repo:
|
||||
|
||||
```bash
|
||||
docker exec nextcloud-aio-borgbackup rm /mnt/docker-aio-config/data/borg.config
|
||||
```
|
||||
|
||||
### Manual Backups
|
||||
|
||||
1. Backup `nextcloud_data`
|
||||
2. Backup all nextcloud volumes at `/home/nextcloud/.local/share/containers/storage/volumes/`
|
||||
3. Backup `.config/containers/systemd/`
|
||||
|
||||
Copy these back to where they came to restore
|
||||
|
||||
## Maintenance Mode
|
||||
|
||||
```bash
|
||||
docker stop nextcloud-aio-apache
|
||||
docker exec -it -u www-data nextcloud-aio-nextcloud ./occ maintenance:mode --on
|
||||
|
||||
docker start nextcloud-aio-apache
|
||||
docker exec -it -u www-data nextcloud-aio-nextcloud ./occ maintenance:mode --off
|
||||
```
|
||||
|
||||
## Trusted Proxy
|
||||
|
||||
If running with a reverse proxy.
|
||||
|
||||
```bash
|
||||
docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set trusted_proxies 2 --value="10.1.0.0/16"
|
||||
docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set trusted_proxies 3 --value="fd00:fd41:d0f1:1010::/64"
|
||||
```
|
||||
|
||||
## Default phone region
|
||||
|
||||
```bash
|
||||
docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set default_phone_region --value="US"
|
||||
```
|
||||
|
||||
## Adding existing files
|
||||
|
||||
```bash
|
||||
docker exec --user www-data -it nextcloud-aio-nextcloud php occ files:scan --path=ducoterra/files
|
||||
```
|
||||
|
||||
## Theming
|
||||
|
||||
Red: `#B30000`
|
||||
|
||||
## Changing the domain
|
||||
|
||||
```bash
|
||||
docker run -it --rm --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config:rw alpine sh -c "apk add --no-cache nano && nano /mnt/docker-aio-config/data/configuration.json"
|
||||
```
|
||||
|
||||
## Uninstall
|
||||
|
||||
```bash
|
||||
docker stop $(docker ps -a -q)
|
||||
docker container prune
|
||||
|
||||
# DANGER ZONE
|
||||
# This deletes all your data
|
||||
docker volume prune -a -f
|
||||
```
|
||||
|
||||
defaults,_netdev,x-systemd.requires=iscsid.service 0 1
|
||||
|
||||
## Edit QCOW
|
||||
|
||||
```bash
|
||||
sudo modprobe nbd
|
||||
sudo qemu-nbd -c /dev/nbd0 --read-only /path/to/image.qcow2
|
||||
udisksctl mount -b /dev/nbd0p1
|
||||
```
|
||||
|
||||
## Exclude Lists
|
||||
|
||||
Exclude lists take effect only if the folders/files haven't been synced yet. Here's a basic one
|
||||
I stole that works well for development resources.
|
||||
|
||||
Put this in `~/.config/Nextcloud/sync-exclude.list`
|
||||
|
||||
```text
|
||||
]*~
|
||||
]~$*
|
||||
].~lock.*
|
||||
]~*.tmp
|
||||
]*.~*
|
||||
]Icon\r*
|
||||
].DS_Store
|
||||
].ds_store
|
||||
]*.textClipping
|
||||
]._*
|
||||
]Thumbs.db
|
||||
]photothumb.db
|
||||
]System Volume Information
|
||||
].*.sw?
|
||||
].*.*sw?
|
||||
].TemporaryItems
|
||||
].Trashes
|
||||
].DocumentRevisions-V100
|
||||
].Trash-*
|
||||
].fseventd
|
||||
].apdisk
|
||||
].Spotlight-V100
|
||||
].directory
|
||||
]*.part
|
||||
]*.filepart
|
||||
]*.crdownload
|
||||
]*.kate-swp
|
||||
]*.gnucash.tmp-*
|
||||
].synkron.*
|
||||
].sync.ffs_db
|
||||
].symform
|
||||
].symform-store
|
||||
].fuse_hidden*
|
||||
]*.unison
|
||||
].nfs*
|
||||
]My Saved Places.
|
||||
]*.sb-*
|
||||
]*.dll
|
||||
]*.exe
|
||||
].git/
|
||||
].lock
|
||||
]*.bin
|
||||
].bin
|
||||
]bin/
|
||||
]*.lock
|
||||
]node_modules/
|
||||
].cache/
|
||||
].vscode/
|
||||
].pytest_cache/
|
||||
].github/
|
||||
].ipynb_checkpoints/
|
||||
]*.exe
|
||||
]*.dll
|
||||
]*.class
|
||||
]*.com
|
||||
]*.so
|
||||
]*.o
|
||||
]@*/
|
||||
]__pycache__/
|
||||
].Python/
|
||||
]build/
|
||||
]dist/
|
||||
]eggs/
|
||||
].eggs/
|
||||
]wheels/
|
||||
]sdist/
|
||||
]var/
|
||||
]*.egg/
|
||||
]*.egg-info/
|
||||
]lib64/
|
||||
]lib/
|
||||
].tox/
|
||||
].nox/
|
||||
]env/
|
||||
]venv/
|
||||
]ENV/
|
||||
]env.bak/
|
||||
]venv.bak/
|
||||
]site/
|
||||
]cython_debug/
|
||||
]vendor/
|
||||
]tmp/
|
||||
].libs/
|
||||
].debs/
|
||||
]src/
|
||||
]Debug/
|
||||
]debug/
|
||||
]*.pdb
|
||||
]*.enc
|
||||
].enc
|
||||
].sass-cache/
|
||||
]_site/
|
||||
].info
|
||||
]*.info
|
||||
].jekyll-cache
|
||||
].jekyll-cache/
|
||||
].zotero-ft-cache
|
||||
].zotero-ft-info
|
||||
]*.idlk
|
||||
]zotero.sqlite.bak
|
||||
]*.dwl
|
||||
]*.dwl2
|
||||
]*.bkp
|
||||
]*.dtmp
|
||||
].$*
|
||||
]*.tmp
|
||||
]_build/
|
||||
].venv/
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Stuck in login screen
|
||||
|
||||
Check logs at `/var/www/html/data/nextcloud.log` in `nextcloud-aio-nextcloud` container.
|
||||
|
||||
Sometimes this is caused by a broken app or twofactor. try:
|
||||
|
||||
```bash
|
||||
# Disable two factor
|
||||
./occ twofactorauth:state <user>
|
||||
./occ twofactorauth:disable <user> totp
|
||||
```
|
||||
|
||||
```bash
|
||||
# Disable problem app
|
||||
./occ app:disable integration_openai
|
||||
```
|
||||
|
||||
### Freezing after working for a bit
|
||||
|
||||
#### Out of disk space
|
||||
|
||||
This can happen when nextcloud tries to write logs to its volume and doesn't have enough space
|
||||
|
||||
```bash
|
||||
podman exec -it nextcloud-aio-nextcloud bash
|
||||
df -h .
|
||||
```
|
||||
|
||||
#### Redis can't dump its DB
|
||||
|
||||
This can happen when the redis volume doesn't have the correct permissions
|
||||
|
||||
```bash
|
||||
podman exec -it --user root nextcloud-aio-redis bash
|
||||
ls -lah /data
|
||||
chown redis:redis /data
|
||||
```
|
||||
|
||||
#### Error connecting to server
|
||||
|
||||
Your nextcloud instance won't be able to use host loopback with rootless containers. If you have
|
||||
a local DNS record pointing to your server's IP address you'll need to delete that until this is
|
||||
fixed.
|
||||
42
active/container_nextcloud/nextcloud-compose.yaml
Normal file
42
active/container_nextcloud/nextcloud-compose.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
name: nextcloud-aio # Add the container to the same compose project like all the sibling containers are added to automatically.
|
||||
services:
|
||||
nextcloud-aio-mastercontainer:
|
||||
image: ghcr.io/nextcloud-releases/all-in-one:latest # This is the container image used. You can switch to ghcr.io/nextcloud-releases/all-in-one:beta if you want to help testing new releases. See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel
|
||||
init: true # This setting makes sure that signals from main process inside the container are correctly forwarded to children. See https://docs.docker.com/reference/compose-file/services/#init
|
||||
restart: always # This makes sure that the container starts always together with the host OS. See https://docs.docker.com/reference/compose-file/services/#restart
|
||||
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
|
||||
volumes:
|
||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro # May be changed on macOS, Windows or docker rootless. See the applicable documentation. If adjusting, don't forget to also set 'WATCHTOWER_DOCKER_SOCKET_PATH'!
|
||||
network_mode: bridge # This adds the container to the same network as docker run would do. Comment this line and uncomment the line below and the networks section at the end of the file if you want to define a custom MTU size for the docker network
|
||||
ports:
|
||||
- 8080:8080 # This is the AIO interface, served via https and self-signed certificate. See https://github.com/nextcloud/all-in-one#explanation-of-used-ports
|
||||
security_opt: ["label:disable"] # Is needed when using SELinux. See https://github.com/nextcloud/all-in-one#are-there-known-problems-when-selinux-is-enabled
|
||||
environment: # Is needed when using any of the options below
|
||||
# AIO_DISABLE_BACKUP_SECTION: false # Setting this to true allows to hide the backup section in the AIO interface. See https://github.com/nextcloud/all-in-one#how-to-disable-the-backup-section
|
||||
APACHE_PORT: 11000 # Is needed when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else). See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
|
||||
APACHE_IP_BINDING: 0.0.0.0 # Should be set when running behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) that is running on the same host. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
|
||||
# APACHE_ADDITIONAL_NETWORK: frontend_net # (Optional) Connect the apache container to an additional docker network. Needed when behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) running in a different docker network on same server. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md
|
||||
# BORG_RETENTION_POLICY: --keep-within=7d --keep-weekly=4 --keep-monthly=6 # Allows to adjust borgs retention policy. See https://github.com/nextcloud/all-in-one#how-to-adjust-borgs-retention-policy
|
||||
# COLLABORA_SECCOMP_DISABLED: false # Setting this to true allows to disable Collabora's Seccomp feature. See https://github.com/nextcloud/all-in-one#how-to-disable-collaboras-seccomp-feature
|
||||
# DOCKER_API_VERSION: 1.44 # You can adjust the internally used docker api version with this variable. ⚠️⚠️⚠️ Warning: please note that only the default api version (unset this variable) is supported and tested by the maintainers of Nextcloud AIO. So use this on your own risk and things might break without warning. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-internally-used-docker-api-version
|
||||
# FULLTEXTSEARCH_JAVA_OPTIONS: "-Xms1024M -Xmx1024M" # Allows to adjust the fulltextsearch java options. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-fulltextsearch-java-options
|
||||
NEXTCLOUD_DATADIR: /srv/nextcloud-data # Allows to set the host directory for Nextcloud's datadir. ⚠️⚠️⚠️ Warning: do not set or adjust this value after the initial Nextcloud installation is done! See https://github.com/nextcloud/all-in-one#how-to-change-the-default-location-of-nextclouds-datadir
|
||||
# NEXTCLOUD_MOUNT: /mnt/ # Allows the Nextcloud container to access the chosen directory on the host. See https://github.com/nextcloud/all-in-one#how-to-allow-the-nextcloud-container-to-access-directories-on-the-host
|
||||
NEXTCLOUD_UPLOAD_LIMIT: 128G # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-upload-limit-for-nextcloud
|
||||
NEXTCLOUD_MAX_TIME: 3600 # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud
|
||||
NEXTCLOUD_MEMORY_LIMIT: 1024M # Can be adjusted if you need more. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-php-memory-limit-for-nextcloud
|
||||
# NEXTCLOUD_TRUSTED_CACERTS_DIR: /path/to/my/cacerts # CA certificates in this directory will be trusted by the OS of the nextcloud container (Useful e.g. for LDAPS) See https://github.com/nextcloud/all-in-one#how-to-trust-user-defined-certification-authorities-ca
|
||||
# NEXTCLOUD_STARTUP_APPS: deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time. See https://github.com/nextcloud/all-in-one#how-to-change-the-nextcloud-apps-that-are-installed-on-the-first-startup
|
||||
# NEXTCLOUD_ADDITIONAL_APKS: imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-os-packages-permanently-to-the-nextcloud-container
|
||||
# NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS: imagick # This allows to add additional php extensions to the Nextcloud container permanently. Default is imagick but can be overwritten by modifying this value. See https://github.com/nextcloud/all-in-one#how-to-add-php-extensions-permanently-to-the-nextcloud-container
|
||||
# NEXTCLOUD_ENABLE_DRI_DEVICE: true # This allows to enable the /dev/dri device for containers that profit from it. ⚠️⚠️⚠️ Warning: this only works if the '/dev/dri' device is present on the host! If it should not exist on your host, don't set this to true as otherwise the Nextcloud container will fail to start! See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-acceleration-for-nextcloud
|
||||
# NEXTCLOUD_ENABLE_NVIDIA_GPU: true # This allows to enable the NVIDIA runtime and GPU access for containers that profit from it. ⚠️⚠️⚠️ Warning: this only works if an NVIDIA gpu is installed on the server. See https://github.com/nextcloud/all-in-one#how-to-enable-hardware-acceleration-for-nextcloud.
|
||||
# NEXTCLOUD_KEEP_DISABLED_APPS: false # Setting this to true will keep Nextcloud apps that are disabled in the AIO interface and not uninstall them if they should be installed. See https://github.com/nextcloud/all-in-one#how-to-keep-disabled-apps
|
||||
# SKIP_DOMAIN_VALIDATION: false # This should only be set to true if things are correctly configured. See https://github.com/nextcloud/all-in-one#how-to-skip-the-domain-validation
|
||||
# TALK_PORT: 3478 # This allows to adjust the port that the talk container is using which is exposed on the host. See https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port
|
||||
# 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'
|
||||
|
||||
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:
|
||||
name: nextcloud_aio_mastercontainer # This line is not allowed to be changed as otherwise the built-in backup solution will not work
|
||||
Reference in New Issue
Block a user