Compare commits

...

19 Commits

Author SHA1 Message Date
Simon L.
1630867fb3 Merge pull request #5890 from nextcloud/nextcloud-container-update
Nextcloud dependency update
2025-01-17 12:34:14 +01:00
szaimen
23755a0371 nextcloud-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-16 19:45:00 +00:00
Simon L.
c19ba34cdf Merge pull request #5881 from nextcloud/enh/noid/add-jellyfin
fail2ban-cc: add jellyfin
2025-01-16 12:33:21 +01:00
Simon L.
784da23323 Merge pull request #5888 from nextcloud/enh/5268/check-auth.docker.io-reachable
mastercontainer: check if auth.docker.io is reachable during startup
2025-01-16 12:33:13 +01:00
Simon L.
5d2cc65aa0 Merge pull request #5885 from nextcloud/enh/noid/add-further-hint-to-debug-section
rp-docs: add info about hairpin-nat and local dns-record in debug section
2025-01-16 12:31:49 +01:00
Simon L.
02cc5f04ca mastercontainer: check if auth.docker.io is reachable during startup
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-16 10:45:49 +01:00
Simon L.
22fdaa57ce rp-docs: add info about hairpin-nat and local dns-record in debug section
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-15 15:36:43 +01:00
Simon L.
276cd7d9d8 fail2ban-cc: add jellyfin
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-15 13:48:06 +01:00
Simon L.
bdff564e2e Merge pull request #5880 from nextcloud/dependabot/docker/Containers/mastercontainer/docker-27.5.0-cli
build(deps): bump docker from 27.4.1-cli to 27.5.0-cli in /Containers/mastercontainer
2025-01-15 09:33:09 +01:00
Simon L.
409777cb7a Merge pull request #5879 from nextcloud/dependabot/docker/Containers/docker-socket-proxy/haproxy-3.1.2-alpine
build(deps): bump haproxy from 3.1.1-alpine to 3.1.2-alpine in /Containers/docker-socket-proxy
2025-01-15 09:32:45 +01:00
dependabot[bot]
96ea32405d build(deps): bump docker in /Containers/mastercontainer
Bumps docker from 27.4.1-cli to 27.5.0-cli.

---
updated-dependencies:
- dependency-name: docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 05:13:02 +00:00
dependabot[bot]
a8f6e7a336 build(deps): bump haproxy in /Containers/docker-socket-proxy
Bumps haproxy from 3.1.1-alpine to 3.1.2-alpine.

---
updated-dependencies:
- dependency-name: haproxy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-15 05:12:46 +00:00
Simon L.
b6ad2782e4 Merge pull request #5870 from nextcloud/enh/noid/allow-configure-redis-user
allow to configure redis user
2025-01-14 14:46:49 +01:00
Simon L.
b786415cfb Revert changes to notify-push and whiteboard
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-14 14:39:32 +01:00
Simon L.
4acc9d8f41 add idea
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-14 14:26:59 +01:00
Simon L.
d2242b2eba Merge pull request #5877 from nextcloud/imaginary-container-update
Imaginary update
2025-01-14 14:07:02 +01:00
szaimen
2148b60fc0 imaginary-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-14 12:02:59 +00:00
Simon L.
d971f86f0c increase to 10.4.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-14 11:51:42 +01:00
Simon L.
2fc2be363a nextcloud: allow to configure redis user
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-01-13 16:56:33 +01:00
14 changed files with 31 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM haproxy:3.1.1-alpine
FROM haproxy:3.1.2-alpine
# hadolint ignore=DL3002
USER root

View File

@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:latest
FROM golang:1.23.4-alpine3.21 AS go
ENV IMAGINARY_HASH=8f36a26c448be8c151a3878404b75fcd1cd3cf0c
ENV IMAGINARY_HASH=1d4e251cfcd58ea66f8361f8721d7b8cc85002a3
RUN set -ex; \
apk add --no-cache \

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# Docker CLI is a requirement
FROM docker:27.4.1-cli AS docker
FROM docker:27.5.0-cli AS docker
# Caddy is a requirement
FROM caddy:2.9.1-alpine AS caddy

View File

@@ -283,6 +283,15 @@ if [ "$?" = 6 ]; then
exit 1
fi
# Check if auth.docker.io is reachable
# Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268
if ! curl https://auth.docker.io/token | grep -q token; then
print_red "Could not reach https://auth.docker.io."
echo "Most likely is something blocking access to it."
echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install"
exit 1
fi
# Check that no changes have been made to timezone settings since AIO only supports running in Etc/UTC timezone
if [ -n "$TZ" ]; then
print_red "The environmental variable TZ has been set which is not supported by AIO since it only supports running in the default Etc/UTC timezone!"

View File

@@ -8,7 +8,7 @@ ENV SOURCE_LOCATION=/usr/src/nextcloud
ENV REDIS_DB_INDEX=0
# AIO settings start # Do not remove or change this line!
ENV NEXTCLOUD_VERSION=30.0.4
ENV NEXTCLOUD_VERSION=30.0.5
ENV AIO_TOKEN=123456
ENV AIO_URL=localhost
# AIO settings end # Do not remove or change this line!
@@ -147,7 +147,7 @@ RUN set -ex; \
\
{ \
echo 'session.save_handler = redis'; \
echo 'session.save_path = "tcp://${REDIS_HOST}:6379/${REDIS_DB_INDEX}?auth=${REDIS_HOST_PASSWORD}"'; \
echo 'session.save_path = "tcp://${REDIS_HOST}:6379?database=${REDIS_DB_INDEX}${REDIS_USER_AUTH}&auth[]=${REDIS_HOST_PASSWORD}"'; \
echo 'redis.session.locking_enabled = 1'; \
echo 'redis.session.lock_retries = -1'; \
echo 'redis.session.lock_wait_time = 10000'; \

View File

@@ -18,4 +18,8 @@ if (getenv('REDIS_HOST')) {
if (getenv('REDIS_DB_INDEX')) {
$CONFIG['redis']['dbindex'] = (int) getenv('REDIS_DB_INDEX');
}
if (getenv('REDIS_USER_AUTH') !== false) {
$CONFIG['redis']['user'] = str_replace("&auth[]=", "", getenv('REDIS_USER_AUTH'));
}
}

View File

@@ -62,7 +62,7 @@ fi
# Set sensitive values as env
export DATABASE_URL="$DATABASE_TYPE://oc_$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST:$POSTGRES_PORT/$POSTGRES_DB"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
export REDIS_URL="redis://$REDIS_USER:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
# Run it
/nextcloud/custom_apps/notify_push/bin/"$CPU_ARCH"/notify_push \

View File

@@ -11,7 +11,7 @@ if [ -z "$REDIS_DB_INDEX" ]; then
REDIS_DB_INDEX=0
fi
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
export REDIS_URL="redis://$REDIS_USER:$REDIS_HOST_PASSWORD@$REDIS_HOST/$REDIS_DB_INDEX"
# Run it
exec npm run server:start

View File

@@ -25,6 +25,11 @@
"source": "nextcloud_aio_vaultwarden_logs",
"destination": "/vaultwarden",
"writeable": false
},
{
"source": "nextcloud_aio_jellyfin",
"destination": "/jellyfin",
"writeable": false
}
]
}

View File

@@ -1,5 +1,5 @@
## Fail2ban
This container bundles fail2ban and auto-configures it for you in order to block ip-addresses automatically. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden, if installed.
This container bundles fail2ban and auto-configures it for you in order to block ip-addresses automatically. It also covers https://github.com/nextcloud/all-in-one/tree/main/community-containers/vaultwarden and https://github.com/nextcloud/all-in-one/tree/main/community-containers/jellyfin, if installed.
### Notes
- If you get an error like `"ip6tables v1.8.9 (legacy): can't initialize ip6tables table filter': Table does not exist (do you need to insmod?)"`, you need to enable ip6tables on your host via `sudo modprobe ip6table_filter`.

View File

@@ -8,6 +8,7 @@ This container bundles Jellyfin and auto-configures it for you.
- In order to access your Jellyfin outside the local network, you have to set up your own reverse proxy. You can set up a reverse proxy following [these instructions](https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md) and [Jellyfin's networking documentation](https://jellyfin.org/docs/general/networking/#running-jellyfin-behind-a-reverse-proxy), OR use the [Caddy](https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy) community container that will automatically configure `media.$NC_DOMAIN` to redirect to your Jellyfin.
- ⚠️ After the initial start, Jellyfin shows a configuration page to set up the root password, etc. **Be careful to initialize your Jellyfin before adding the DNS record.**
- If you have a firewall like ufw configured, you might need to open all Jellyfin ports in there first in order to make it work. Especially port 8096 is important!
- If you want to secure the installation with fail2ban, you might want to check out https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban
- The data of Jellyfin will be automatically included in AIO's backup solution!
- See [here](https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers) how to add it to the AIO stack.

View File

@@ -6,11 +6,13 @@ You can run the containers that are build for AIO with docker-compose. This come
- You can run it without a container having access to the docker socket
- You can modify all values on your own
- You can run the containers with docker swarm
- You can run this in environments where access to docker.io is not possible. See [this issue](https://github.com/nextcloud/all-in-one/discussions/5268).
### Disadvantages
- You lose the AIO interface
- You lose update notifications and automatic updates
- You lose all AIO backup and restore features
- You lose the built-in [Docker Socket Proxy container](https://github.com/nextcloud/docker-socket-proxy#readme) (needed for [Nextcloud App API](https://github.com/nextcloud/app_api#nextcloud-appapi))
- You lose all community containers: https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers
- **You need to know what you are doing, especially when modifying the compose.yaml file**
- For updating, you need to strictly follow the at the bottom described update routine

View File

@@ -17,7 +17,7 @@
<div class="container">
<main>
<h1>Nextcloud AIO v10.3.0</h1>
<h1>Nextcloud AIO v10.4.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>

View File

@@ -920,5 +920,6 @@ If something does not work, follow the steps below:
1. If you use Cloudflare, you might need to skip the domain validation anyways since it is known that Cloudflare might block the validation attempts. In that case, see the last option below!
1. If your reverse proxy is configured to use the host network (as recommended in the above docs) or running on the host, make sure that you've configured your firewall to open port 443 (and 80)!
1. Check if you have a public IPv4- and public IPv6-address. If you only have a public IPv6-address (e.g. due to DS-Lite), make sure to enable IPv6 in Docker and your whole networking infrastructure (e.g. also by adding an AAAA DNS-entry to your domain)!
1. [Enable Hairpin NAT in your router](https://github.com/nextcloud/all-in-one/discussions/5849) or [set up a local DNS server and add a custom dns-record](https://github.com/nextcloud/all-in-one#how-can-i-access-nextcloud-locally) that allows the server to reach itself locally
1. Try to configure everything from scratch - if it still does not work by following https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance.
1. As last resort, you may disable the domain validation by adding `--env SKIP_DOMAIN_VALIDATION=true` to the docker run command. But only use this if you are completely sure that you've correctly configured everything!