Files
ServerKit/backend/templates/nextcloud.yaml
T
Juan DenisandClaude Opus 4.5 65ee8ea4cd Fix more templates: ghost, gitea, nextcloud, nginx-proxy-manager
- Convert variables to list format
- Use ${APP_NAME} for container names
- Standardize service names and port variables

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 22:55:21 -05:00

91 lines
2.1 KiB
YAML

id: nextcloud
name: Nextcloud
version: "28.0"
description: Self-hosted productivity platform with file sync and collaboration
icon: /icons/nextcloud.png
categories:
- storage
- collaboration
- productivity
website: https://nextcloud.com
documentation: https://docs.nextcloud.com
variables:
- name: HTTP_PORT
type: port
default: "8080"
description: Port to expose Nextcloud
- name: ADMIN_USER
type: string
default: admin
description: Admin username
- name: ADMIN_PASSWORD
type: password
length: 16
description: Admin password
required: true
- name: DB_PASSWORD
type: password
length: 24
description: Database password
- name: REDIS_PASSWORD
type: password
length: 16
description: Redis password
compose:
services:
app:
image: nextcloud:28-apache
container_name: ${APP_NAME}
restart: unless-stopped
ports:
- "${HTTP_PORT}:80"
environment:
POSTGRES_HOST: nextcloud-db
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: "${DB_PASSWORD}"
NEXTCLOUD_ADMIN_USER: "${ADMIN_USER}"
NEXTCLOUD_ADMIN_PASSWORD: "${ADMIN_PASSWORD}"
REDIS_HOST: nextcloud-redis
REDIS_HOST_PASSWORD: "${REDIS_PASSWORD}"
volumes:
- nextcloud-data:/var/www/html
depends_on:
- nextcloud-db
- nextcloud-redis
nextcloud-db:
image: postgres:15-alpine
container_name: ${APP_NAME}-db
restart: unless-stopped
environment:
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: nextcloud
volumes:
- nextcloud-db-data:/var/lib/postgresql/data
nextcloud-redis:
image: redis:alpine
container_name: ${APP_NAME}-redis
restart: unless-stopped
command: redis-server --requirepass "${REDIS_PASSWORD}"
volumes:
- nextcloud-redis-data:/data
volumes:
nextcloud-data:
nextcloud-db-data:
nextcloud-redis-data:
ports:
- port: "${HTTP_PORT}"
protocol: http
description: Web Interface
requirements:
memory: 1GB
storage: 10GB