Skip to content

Commit

Permalink
Merge pull request #5666 from nextcloud/enh/5660/add-back-network
Browse files Browse the repository at this point in the history
manual-install: add back the nextcloud-aio network
  • Loading branch information
szaimen authored Nov 26, 2024
2 parents add49e5 + 6a4c946 commit 6e2a14f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
30 changes: 28 additions & 2 deletions manual-install/latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ services:
- nextcloud_aio_nextcloud:/var/www/html:ro
- nextcloud_aio_apache:/mnt/data:rw
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/log/supervisord
Expand Down Expand Up @@ -70,6 +72,8 @@ services:
stop_grace_period: 1800s
restart: unless-stopped
shm_size: 268435456
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/run/postgresql
Expand Down Expand Up @@ -158,6 +162,8 @@ services:
- WHITEBOARD_ENABLED
stop_grace_period: 600s
restart: unless-stopped
networks:
- nextcloud-aio
cap_drop:
- NET_RAW

Expand All @@ -180,6 +186,8 @@ services:
- POSTGRES_DB=nextcloud_database
- POSTGRES_USER=nextcloud
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
cap_drop:
- NET_RAW
Expand All @@ -196,6 +204,8 @@ services:
volumes:
- nextcloud_aio_redis:/data:rw
restart: unless-stopped
networks:
- nextcloud-aio
read_only: true
cap_drop:
- NET_RAW
Expand All @@ -215,6 +225,8 @@ services:
restart: unless-stopped
profiles:
- collabora
networks:
- nextcloud-aio
cap_add:
- MKNOD
- SYS_ADMIN
Expand Down Expand Up @@ -242,6 +254,8 @@ services:
profiles:
- talk
- talk-recording
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/log/supervisord
Expand Down Expand Up @@ -269,6 +283,8 @@ services:
restart: unless-stopped
profiles:
- talk-recording
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /conf
Expand All @@ -290,6 +306,8 @@ services:
restart: unless-stopped
profiles:
- clamav
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /var/lock
Expand All @@ -313,6 +331,8 @@ services:
restart: unless-stopped
profiles:
- onlyoffice
networks:
- nextcloud-aio
cap_drop:
- NET_RAW

Expand All @@ -332,6 +352,8 @@ services:
- NET_RAW
profiles:
- imaginary
networks:
- nextcloud-aio
read_only: true
tmpfs:
- /tmp
Expand All @@ -357,6 +379,8 @@ services:
restart: unless-stopped
profiles:
- fulltextsearch
networks:
- nextcloud-aio
cap_drop:
- NET_RAW

Expand All @@ -377,6 +401,8 @@ services:
profiles:
- whiteboard
read_only: true
networks:
- nextcloud-aio
cap_drop:
- NET_RAW

Expand All @@ -403,5 +429,5 @@ volumes:
name: nextcloud_aio_nextcloud_data

networks:
default:
driver: bridge
nextcloud-aio:
name: nextcloud-aio
5 changes: 2 additions & 3 deletions manual-install/update-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].devices)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].backup_volumes)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].nextcloud_exec_commands)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].image_tag)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].networks)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[].documentation)')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-watchtower"))')"
OUTPUT="$(echo "$OUTPUT" | jq 'del(.services[] | select(.container_name == "nextcloud-aio-domaincheck"))')"
Expand Down Expand Up @@ -141,8 +140,8 @@ done
cat << NETWORK >> containers.yml
networks:
default:
driver: bridge
nextcloud-aio:
name: nextcloud-aio
NETWORK

mv containers.yml latest.yml
Expand Down

0 comments on commit 6e2a14f

Please sign in to comment.