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",
"name": "Nextcloud",
"available": true,
"exposable": true,
"port": 8083,
"id": "nextcloud",
"tipi_version": 1,
"version": "24.0.3",
"tipi_version": 2,
"version": "24.0.4",
"categories": ["data"],
"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",

View File

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