Compare commits

...

2 Commits

Author SHA1 Message Date
817eff6e5f Add new nextcloud 2022-09-30 14:29:14 -04:00
eb47803c72 Add custom nextcloud 2022-09-30 14:28:43 -04:00
4 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1 @@
g

View File

@ -0,0 +1,74 @@
version: "3.7"
services:
app_proxy:
environment:
APP_HOST: $APP_NEXTCLOUD_CUSTOM_IP
APP_PORT: 80
PROXY_AUTH_ADD: "false"
db:
image: mariadb:10.5.12@sha256:dfcba5641bdbfd7cbf5b07eeed707e6a3672f46823695a0d3aba2e49bbd9b1dd
user: "1000:1000"
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=moneyprintergobrrr
- MYSQL_PASSWORD=moneyprintergobrrr
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
networks:
default:
ipv4_address: $APP_NEXTCLOUD_CUSTOM_DB_IP
redis:
image: redis:6.2.2-buster@sha256:e10f55f92478715698a2cef97c2bbdc48df2a05081edd884938903aa60df6396
user: "1000:1000"
restart: on-failure
volumes:
- "${APP_DATA_DIR}/data/redis:/data"
networks:
default:
ipv4_address: $APP_NEXTCLOUD_CUSTOM_REDIS_IP
web:
image: nextcloud:22.1.1-apache@sha256:99d94124b2024c9f7f38dc12144a92bc0d68d110bcfd374169ebb7e8df0adf8e
# Currently needs to be run as root, if we run as uid 1000 this fails
# https://github.com/nextcloud/docker/blob/05026b029d37fc5cd488d4a4a2a79480e39841ba/21.0/apache/entrypoint.sh#L53-L77
# user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/nextcloud:/var/www/html
environment:
- MYSQL_HOST=${APP_NEXTCLOUD_CUSTOM_DB_IP}
- REDIS_HOST=${APP_NEXTCLOUD_CUSTOM_REDIS_IP}
- MYSQL_PASSWORD=moneyprintergobrrr
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- NEXTCLOUD_ADMIN_USER=umbrel
- NEXTCLOUD_ADMIN_PASSWORD=${APP_PASSWORD}
- NEXTCLOUD_TRUSTED_DOMAINS=${APP_DOMAIN}:${APP_NEXTCLOUD_CUSTOM_PORT} ${APP_HIDDEN_SERVICE} ${DEVICE_HOSTNAME}:${APP_NEXTCLOUD_CUSTOM_PORT}
depends_on:
- db
- redis
networks:
default:
ipv4_address: $APP_NEXTCLOUD_CUSTOM_IP
cron:
image: nextcloud:22.0.0-apache@sha256:55de721417c16ff110720217406778e16f1b63154d2e8d42fc7913c37dbe6d50
# Currently needs to be run as root, if we run as uid 1000 this fails
# https://github.com/nextcloud/docker/blob/05026b029d37fc5cd488d4a4a2a79480e39841ba/21.0/apache/entrypoint.sh#L53-L77
# user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/nextcloud:/var/www/html
entrypoint: /cron.sh
depends_on:
- db
- redis
networks:
default:
ipv4_address: $APP_NEXTCLOUD_CUSTOM_CRON_IP

View File

@ -0,0 +1,5 @@
export APP_NEXTCLOUD_CUSTOM_PORT="18081"
export APP_NEXTCLOUD_CUSTOM_IP="10.21.21.232"
export APP_NEXTCLOUD_CUSTOM_DB_IP="10.21.21.233"
export APP_NEXTCLOUD_CUSTOM_REDIS_IP="10.21.21.234"
export APP_NEXTCLOUD_CUSTOM_CRON_IP="10.21.21.235"

View File

@ -0,0 +1,40 @@
manifestVersion: 1
id: nextcloud-custom-domain
category: Files
name: Nextcloud (Custom Domain)
version: "22.1.1"
tagline: Productivity platform that keeps you in control
description: >-
Nextcloud puts your data at your fingertips, under your control.
Store your documents, calendar, contacts and photos on your Umbrel instead of
some company's data center. Features:
- Mobile and desktop sync
- Versioning and undelete
- Galleries and activity feed
- File editing and preview support for PDF, images, text files, Open Document, Word files and more.
- Smooth performance and easy user interface.
- Fine-grained control over access to data and sharing capabilities by user and by group.
Note: After logging in to Nextcloud please change the password to something secure before sharing the address with anyone.
developer: Nextcloud GmbH
website: https://nextcloud.com
dependencies: []
repo: https://github.com/nextcloud/server
support: https://help.nextcloud.com/categories
port: 18081
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
defaultUsername: umbrel
deterministicPassword: true
torOnly: false