feat(nextcloud): allow app exposure and domain

chore: bump nextcloud version string
This commit is contained in:
Nicolas Meienberger 2022-09-06 08:50:30 +02:00
parent 24fe7e7bfa
commit 369aa78795
2 changed files with 14 additions and 12 deletions

View File

@ -2,10 +2,11 @@
"$schema": "../schema.json", "$schema": "../schema.json",
"name": "Nextcloud", "name": "Nextcloud",
"available": true, "available": true,
"exposable": true,
"port": 8083, "port": 8083,
"id": "nextcloud", "id": "nextcloud",
"tipi_version": 1, "tipi_version": 2,
"version": "24.0.3", "version": "24.0.4",
"categories": ["data"], "categories": ["data"],
"description": "Nextcloud is a self-hosted, open source, and fully-featured cloud storage solution for your personal files, office documents, and photos.", "description": "Nextcloud is a self-hosted, open source, and fully-featured cloud storage solution for your personal files, office documents, and photos.",
"short_desc": "Productivity platform that keeps you in control", "short_desc": "Productivity platform that keeps you in control",

View File

@ -25,7 +25,7 @@ services:
- tipi_main_network - tipi_main_network
cron: cron:
image: nextcloud:24.0.3-apache image: nextcloud:24.0.4-apache
restart: on-failure restart: on-failure
volumes: volumes:
- ${APP_DATA_DIR}/data/nextcloud:/var/www/html - ${APP_DATA_DIR}/data/nextcloud:/var/www/html
@ -38,7 +38,7 @@ services:
nextcloud: nextcloud:
container_name: nextcloud container_name: nextcloud
image: nextcloud:24.0.3-apache image: nextcloud:24.0.4-apache
restart: unless-stopped restart: unless-stopped
ports: ports:
- ${APP_PORT}:80 - ${APP_PORT}:80
@ -52,16 +52,17 @@ services:
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
- NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER} - NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER}
- NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD} - NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD}
- NEXTCLOUD_TRUSTED_DOMAINS=${INTERNAL_IP}:${APP_PORT} - NEXTCLOUD_TRUSTED_DOMAINS=${INTERNAL_IP}:${APP_PORT} ${APP_DOMAIN}
depends_on: depends_on:
- db-nextcloud - db-nextcloud
- redis-nextcloud - redis-nextcloud
networks: networks:
- tipi_main_network - tipi_main_network
# labels: labels:
# traefik.enable: true traefik.enable: ${APP_EXPOSED}
# traefik.http.routers.nextcloud.rule: Host(`nextcloud.tipi.home`) traefik.http.routers.nextcloud.rule: Host(`${APP_DOMAIN}`)
# traefik.http.routers.nextcloud.service: nextcloud traefik.http.routers.nextcloud.entrypoints: websecure
# traefik.http.routers.nextcloud.tls: true traefik.http.routers.nextcloud.service: nextcloud
# traefik.http.routers.nextcloud.entrypoints: websecure traefik.http.routers.nextcloud.tls.certresolver: myresolver
# traefik.http.services.nextcloud.loadbalancer.server.port: 80 traefik.http.services.nextcloud.loadbalancer.server.port: 80