mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-02 10:07:29 +09:00
Switched all template icon URLs to use local /serverkit.ai/imgs/template-icons/ assets for consistency and reliability. Improved the Sidebar component with a new user context menu featuring theme switching, settings navigation, and logout, along with conditional display of the WordPress pipeline link. Added and updated related styles for the sidebar, user menu, and page headers, and introduced new theme variables for code/terminal backgrounds.
94 lines
2.2 KiB
YAML
94 lines
2.2 KiB
YAML
id: nextcloud
|
|
name: Nextcloud
|
|
version: "28.0"
|
|
description: Self-hosted productivity platform with file sync and collaboration
|
|
icon: https://serverkit.ai/imgs/template-icons/nextcloud.svg
|
|
categories:
|
|
- storage
|
|
- collaboration
|
|
- productivity
|
|
website: https://nextcloud.com
|
|
documentation: https://docs.nextcloud.com
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
type: port
|
|
default: "8080"
|
|
hidden: true
|
|
description: Port to expose Nextcloud
|
|
hidden: true
|
|
- name: ADMIN_USER
|
|
type: string
|
|
default: admin
|
|
description: Admin username
|
|
- name: ADMIN_PASSWORD
|
|
type: password
|
|
length: 16
|
|
description: Admin password (auto-generated if empty)
|
|
- name: DB_PASSWORD
|
|
type: password
|
|
length: 24
|
|
description: Database password
|
|
hidden: true
|
|
- name: REDIS_PASSWORD
|
|
type: password
|
|
length: 16
|
|
description: Redis password
|
|
hidden: true
|
|
|
|
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
|