diff --git a/linux/nextcloud.md b/linux/nextcloud.md index 6723fff..9c03ec8 100644 --- a/linux/nextcloud.md +++ b/linux/nextcloud.md @@ -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 \ No newline at end of file +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 + + diff --git a/linux/setup git.sh b/linux/setup git.sh index ba0e4ef..3aa9c0a 100644 --- a/linux/setup git.sh +++ b/linux/setup git.sh @@ -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 + + + + + + diff --git a/portainer-compose-stacks/nextcloud-aio.yml b/portainer-compose-stacks/nextcloud-aio.yml new file mode 100644 index 0000000..29524a6 --- /dev/null +++ b/portainer-compose-stacks/nextcloud-aio.yml @@ -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 \ No newline at end of file