nextcloud AIO scripts

This commit is contained in:
Dobromir Popov
2025-12-08 14:42:16 +02:00
parent 707fda89e1
commit 4958b71ad9
3 changed files with 66 additions and 1 deletions

View File

@@ -29,4 +29,17 @@ docker exec -u 0 nextcloud php occ trashbin:cleanup --all-users
27.0.2.1 ->> 28.0.14 -> 29.0.10 -> 30.0.4
27.0.2.1 ->> 28.0.14 -> 29.0.10 -> 30.0.4
# NEXTCLOUD AIO
get pass(in container sh):
/mnt/docker-aio-config/data# ls
backupsecret configuration.json session_date_file
a4a2bed68bc4:/mnt/docker-aio-config/data# cat configuration.json | grep pass
citadel showcase turbofan wick shiftless travel woof dicing
backup:
location:/mnt/storage/containers/nextcloud_aio/backup$
pass: 0d760cd12d0c75991344ce9dcb599e2bfb85ef40db3ebe29

View File

@@ -20,3 +20,17 @@ git commit -m "Merged upstream/main"
# remove upstream
git remote remove upstream
git remote -v
#
http://192.168.1.36:9000
Name: localhost
Environment address: 192.168.1.36:9001

View File

@@ -0,0 +1,38 @@
version: '3'
services:
nextcloud-aio-mastercontainer:
container_name: nextcloud-aio-mastercontainer
image: nextcloud/all-in-one:latest
restart: always
#ports:
# - "82:80"
# - "8080:8080"
#- "8444:8444"
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/storage/containers/nextcloud_aio:/mnt/host
environment:
- NEXTCLOUD_DATADIR=/mnt/storage/containers/nextcloud_data
- APACHE_PORT=8444
- APACHE_IP_BINDING=0.0.0.0
- APACHE_ADDITIONAL_NETWORK=proxy_proxy_default
- SKIP_DOMAIN_VALIDATION=true
networks:
- nextcloud_network
- proxy_proxy_default
volumes:
nextcloud_aio_mastercontainer:
driver: local
driver_opts:
type: none
o: bind
device: /mnt/storage/containers/nextcloud_config
networks:
nextcloud_network:
driver: bridge
proxy_proxy_default:
external: true