From 5c626405519057c04db4227b319b231f41c5047a Mon Sep 17 00:00:00 2001 From: szaimen Date: Sat, 4 Feb 2023 12:14:08 +0000 Subject: [PATCH] Yaml updates Signed-off-by: GitHub --- manual-install/latest.yml | 20 ++++++++++++++++++++ manual-install/sample.conf | 18 +++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/manual-install/latest.yml b/manual-install/latest.yml index 75663881..f1f0ddaa 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -29,6 +29,8 @@ services: nextcloud-aio-database: image: nextcloud/aio-postgresql:${IMAGE_TAG} + expose: + - "5432" volumes: - nextcloud_aio_database:/var/lib/postgresql/data:rw - nextcloud_aio_database_dump:/mnt/data:rw @@ -51,6 +53,9 @@ services: - nextcloud-aio-fulltextsearch - nextcloud-aio-imaginary image: nextcloud/aio-nextcloud:${IMAGE_TAG} + expose: + - "9000" + - "7867" volumes: - nextcloud_aio_nextcloud:/var/www/html:rw - ${NEXTCLOUD_DATADIR}:/mnt/ncdata:rw @@ -102,6 +107,8 @@ services: nextcloud-aio-redis: image: nextcloud/aio-redis:${IMAGE_TAG} + expose: + - "6379" environment: - REDIS_HOST_PASSWORD=${REDIS_PASSWORD} - TZ=${TIMEZONE} @@ -114,6 +121,8 @@ services: nextcloud-aio-collabora: profiles: ["collabora"] image: nextcloud/aio-collabora:${IMAGE_TAG} + expose: + - "9980" environment: - aliasgroup1=https://${NC_DOMAIN}:443 - extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:logging.level=warning --o:home_mode.enable=true ${COLLABORA_SECCOMP_POLICY} --o:remote_font_config.url=https://${NC_DOMAIN}/apps/richdocuments/settings/fonts.json @@ -131,6 +140,8 @@ services: ports: - ${TALK_PORT}:${TALK_PORT}/tcp - ${TALK_PORT}:${TALK_PORT}/udp + expose: + - "8081" environment: - NC_DOMAIN=${NC_DOMAIN} - TURN_SECRET=${TURN_SECRET} @@ -145,6 +156,8 @@ services: nextcloud-aio-clamav: profiles: ["clamav"] image: nextcloud/aio-clamav:${IMAGE_TAG} + expose: + - "3310" environment: - TZ=${TIMEZONE} - CLAMD_STARTUP_TIMEOUT=90 @@ -157,6 +170,8 @@ services: nextcloud-aio-onlyoffice: profiles: ["onlyoffice"] image: nextcloud/aio-onlyoffice:${IMAGE_TAG} + expose: + - "80" environment: - TZ=${TIMEZONE} - JWT_ENABLED=true @@ -171,6 +186,8 @@ services: nextcloud-aio-imaginary: profiles: ["imaginary"] image: nextcloud/aio-imaginary:${IMAGE_TAG} + expose: + - "9000" environment: - TZ=${TIMEZONE} restart: unless-stopped @@ -180,10 +197,13 @@ services: nextcloud-aio-fulltextsearch: profiles: ["fulltextsearch"] image: nextcloud/aio-fulltextsearch:${IMAGE_TAG} + expose: + - "9200" environment: - TZ=${TIMEZONE} - discovery.type=single-node - ES_JAVA_OPTS=-Xms1024M -Xmx1024M + - POSTGRES_HOST=nextcloud-aio-database volumes: - nextcloud_aio_elasticsearch:/usr/share/elasticsearch/data:rw restart: unless-stopped diff --git a/manual-install/sample.conf b/manual-install/sample.conf index d9ce61b8..d36c83f9 100644 --- a/manual-install/sample.conf +++ b/manual-install/sample.conf @@ -1,16 +1,16 @@ IMAGE_TAG=latest # Version of docker images, should be latest or latest-arm64. Note: latest-arm64 has no clamav support AIO_TOKEN=123456 # Has no function but needs to be set! AIO_URL=localhost # Has no function but needs to be set! -APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a reverse proxy and if that is running on the same host and using localhost to connect +APACHE_IP_BINDING=0.0.0.0 # This can be changed to e.g. 127.0.0.1 if you want to run AIO behind a web server or reverse proxy (like Apache, Nginx and else) and if that is running on the same host and using localhost to connect APACHE_MAX_SIZE=10737418240 # This needs to be an integer and in sync with NEXTCLOUD_UPLOAD_LIMIT -APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a reverse proxy. -CLAMAV_ENABLED=no # Setting this to "yes" enables the option in Nextcloud automatically. Note: latest-arm64 has no clamav support +APACHE_PORT=443 # Changing this to a different value than 443 will allow you to run it behind a web server or reverse proxy (like Apache, Nginx and else). +CLAMAV_ENABLED=no # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. Note: latest-arm64 has no clamav support COLLABORA_DICTIONARIES="de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT ru" # You can change this in order to enable other dictionaries for collabora -COLLABORA_ENABLED=yes # Setting this to "yes" enables the option in Nextcloud automatically. +COLLABORA_ENABLED="yes" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. COLLABORA_SECCOMP_POLICY=--o:security.seccomp=true # Changing the value to false allows to disable the seccomp feature of the Collabora container. DATABASE_PASSWORD= # TODO! This needs to be a unique and good password! -FULLTEXTSEARCH_ENABLED=no # Setting this to "yes" enables the option in Nextcloud automatically. -IMAGINARY_ENABLED=no # Setting this to "yes" enables the option in Nextcloud automatically. +FULLTEXTSEARCH_ENABLED=no # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. +IMAGINARY_ENABLED=no # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. JANUS_API_KEY= # TODO! This needs to be a unique and good password! NC_DOMAIN=yourdomain.com # TODO! Needs to be changed to the domain that you want to use for Nextcloud. NEXTCLOUD_ADDITIONAL_APKS=imagemagick # This allows to add additional packages to the Nextcloud container permanently. Default is imagemagick but can be overwritten by modifying this value. @@ -23,12 +23,12 @@ NEXTCLOUD_PASSWORD= # TODO! This is the password of the initially creat NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time NEXTCLOUD_TRUSTED_CACERTS_DIR=/usr/local/share/ca-certificates/my-custom-ca # Nextcloud container will trust all the Certification Authorities, whose certificates are included in the given directory. NEXTCLOUD_UPLOAD_LIMIT=10G # This allows to change the upload limit of the Nextcloud container -ONLYOFFICE_ENABLED=no # Setting this to "yes" enables the option in Nextcloud automatically. +ONLYOFFICE_ENABLED=no # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. ONLYOFFICE_SECRET= # TODO! This needs to be a unique and good password! REDIS_PASSWORD= # TODO! This needs to be a unique and good password! SIGNALING_SECRET= # TODO! This needs to be a unique and good password! -TALK_ENABLED=yes # Setting this to "yes" enables the option in Nextcloud automatically. +TALK_ENABLED="yes" # Setting this to "yes" (with quotes) enables the option in Nextcloud automatically. TALK_PORT=3478 # This allows to adjust the port that the talk container is using. TIMEZONE=Europe/Berlin # TODO! This is the timezone that your containers will use. TURN_SECRET= # TODO! This needs to be a unique and good password! -UPDATE_NEXTCLOUD_APPS=no # When setting to yes, it will automatically update all installed Nextcloud apps upon container startup on saturdays. +UPDATE_NEXTCLOUD_APPS=no # When setting to "yes" (with quotes), it will automatically update all installed Nextcloud apps upon container startup on saturdays.