implement new service templates

This commit is contained in:
Andras Bacsai 2023-10-19 10:51:03 +02:00
parent c1d0cabcfb
commit 2d63fcdc7f
22 changed files with 382 additions and 29 deletions

View File

@ -1,5 +0,0 @@
services:
uptime-kuma:
image: louislam/uptime-kuma:1
volumes:
- uptime-kuma:/app/data

View File

@ -0,0 +1,15 @@
# documentation: https://docs.appsmith.com
# slogan: Appsmith is an open-source, self-hosted application development platform that enables you to build powerful web applications with ease.
services:
appsmith:
image: index.docker.io/appsmith/appsmith-ce
environment:
- SERVICE_FQDN
- APPSMITH_MAIL_ENABLED=false
- APPSMITH_DISABLE_TELEMETRY=true
- APPSMITH_DISABLE_INTERCOM=true
- APPSMITH_SENTRY_DSN=
- APPSMITH_SMART_LOOK_ID=
volumes:
- stacks-data:/appsmith-stacks

View File

@ -0,0 +1,107 @@
_APP_ENV=production
_APP_LOCALE=en
_APP_OPTIONS_ABUSE=enabled
_APP_OPTIONS_FORCE_HTTPS=disabled
_APP_OPENSSL_KEY_V1=
_APP_DOMAIN_FUNCTIONS=
_APP_CONSOLE_WHITELIST_ROOT=enabled
_APP_CONSOLE_WHITELIST_EMAILS=
_APP_CONSOLE_WHITELIST_IPS=
_APP_SYSTEM_EMAIL_NAME=Appwrite
_APP_SYSTEM_EMAIL_ADDRESS=team@appwrite.io
_APP_SYSTEM_RESPONSE_FORMAT=
_APP_SYSTEM_SECURITY_EMAIL_ADDRESS=certs@appwrite.io
_APP_USAGE_STATS=enabled
_APP_LOGGING_PROVIDER=
_APP_LOGGING_CONFIG=
_APP_USAGE_AGGREGATION_INTERVAL=30
_APP_USAGE_TIMESERIES_INTERVAL=30
_APP_USAGE_DATABASE_INTERVAL=900
_APP_WORKER_PER_CORE=6
_APP_REDIS_HOST=redis
_APP_REDIS_PORT=6379
_APP_REDIS_USER=
_APP_REDIS_PASS=
_APP_DB_HOST=mariadb
_APP_DB_PORT=3306
_APP_DB_SCHEMA=appwrite
_APP_DB_USER=$SERVICE_USER_MYSQL
_APP_DB_PASS=$SERVICE_PASSWORD_MYSQL
_APP_DB_ROOT_PASS=$SERVICE_PASSWORD_ROOTMYSQL
_APP_INFLUXDB_HOST=influxdb
_APP_INFLUXDB_PORT=8086
_APP_STATSD_HOST=telegraf
_APP_STATSD_PORT=8125
_APP_SMTP_HOST=
_APP_SMTP_PORT=
_APP_SMTP_SECURE=
_APP_SMTP_USERNAME=
_APP_SMTP_PASSWORD=
_APP_SMS_PROVIDER=
_APP_SMS_FROM=
_APP_STORAGE_LIMIT=30000000
_APP_STORAGE_PREVIEW_LIMIT=20000000
_APP_STORAGE_ANTIVIRUS=disabled
_APP_STORAGE_ANTIVIRUS_HOST=clamav
_APP_STORAGE_ANTIVIRUS_PORT=3310
_APP_STORAGE_DEVICE=local
_APP_STORAGE_S3_ACCESS_KEY=
_APP_STORAGE_S3_SECRET=
_APP_STORAGE_S3_REGION=us-east-1
_APP_STORAGE_S3_BUCKET=
_APP_STORAGE_DO_SPACES_ACCESS_KEY=
_APP_STORAGE_DO_SPACES_SECRET=
_APP_STORAGE_DO_SPACES_REGION=us-east-1
_APP_STORAGE_DO_SPACES_BUCKET=
_APP_STORAGE_BACKBLAZE_ACCESS_KEY=
_APP_STORAGE_BACKBLAZE_SECRET=
_APP_STORAGE_BACKBLAZE_REGION=us-west-004
_APP_STORAGE_BACKBLAZE_BUCKET=
_APP_STORAGE_LINODE_ACCESS_KEY=
_APP_STORAGE_LINODE_SECRET=
_APP_STORAGE_LINODE_REGION=eu-central-1
_APP_STORAGE_LINODE_BUCKET=
_APP_STORAGE_WASABI_ACCESS_KEY=
_APP_STORAGE_WASABI_SECRET=
_APP_STORAGE_WASABI_REGION=eu-central-1
_APP_STORAGE_WASABI_BUCKET=
_APP_FUNCTIONS_SIZE_LIMIT=30000000
_APP_FUNCTIONS_TIMEOUT=900
_APP_FUNCTIONS_BUILD_TIMEOUT=900
_APP_FUNCTIONS_CONTAINERS=10
_APP_FUNCTIONS_CPUS=0
_APP_FUNCTIONS_MEMORY=0
_APP_FUNCTIONS_MEMORY_SWAP=0
_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0
_APP_EXECUTOR_SECRET=your-secret-key
_APP_EXECUTOR_HOST=http://appwrite-executor/v1
_APP_EXECUTOR_RUNTIME_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_ENVS=node-16.0,php-7.4,python-3.9,ruby-3.0
_APP_FUNCTIONS_INACTIVE_THRESHOLD=60
DOCKERHUB_PULL_USERNAME=
DOCKERHUB_PULL_PASSWORD=
DOCKERHUB_PULL_EMAIL=
OPEN_RUNTIMES_NETWORK=appwrite_runtimes
_APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes
_APP_DOCKER_HUB_USERNAME=
_APP_DOCKER_HUB_PASSWORD=
_APP_FUNCTIONS_MAINTENANCE_INTERVAL=3600
_APP_VCS_GITHUB_APP_NAME=
_APP_VCS_GITHUB_PRIVATE_KEY=
_APP_VCS_GITHUB_APP_ID=
_APP_VCS_GITHUB_CLIENT_ID=
_APP_VCS_GITHUB_CLIENT_SECRET=
_APP_VCS_GITHUB_WEBHOOK_SECRET=
_APP_MAINTENANCE_INTERVAL=86400
_APP_MAINTENANCE_RETENTION_CACHE=2592000
_APP_MAINTENANCE_RETENTION_EXECUTION=1209600
_APP_MAINTENANCE_RETENTION_AUDIT=1209600
_APP_MAINTENANCE_RETENTION_ABUSE=86400
_APP_MAINTENANCE_RETENTION_USAGE_HOURLY=8640000
_APP_MAINTENANCE_RETENTION_SCHEDULES=86400
_APP_GRAPHQL_MAX_BATCH_SIZE=10
_APP_GRAPHQL_MAX_COMPLEXITY=250
_APP_GRAPHQL_MAX_DEPTH=3
_APP_MIGRATIONS_FIREBASE_CLIENT_ID=
_APP_MIGRATIONS_FIREBASE_CLIENT_SECRET=
_APP_ASSISTANT_OPENAI_API_KEY=

View File

@ -1,20 +1,18 @@
# documentation: https://appwrite.io/docs
# slogan: Appwrite is a self-hosted backend-as-a-service platform that simplifies the development of web and mobile applications by providing a range of features and APIs.
x-logging: &x-logging x-logging: &x-logging
logging: logging:
driver: 'json-file' driver: 'json-file'
options: options:
max-file: '5' max-file: '5'
max-size: '10m' max-size: '10m'
x-image: &x-image
image: appwrite/appwrite:1.4.3
x-image-assistant: &x-image-assistant
image: appwrite/assistant:0.2.1
version: '3' version: '3'
services: services:
appwrite: appwrite:
<<: *x-image image: appwrite/appwrite:1.4.3
container_name: appwrite container_name: appwrite
<<: *x-logging <<: *x-logging
labels: labels:
@ -137,7 +135,7 @@ services:
- _APP_ASSISTANT_OPENAI_API_KEY - _APP_ASSISTANT_OPENAI_API_KEY
appwrite-realtime: appwrite-realtime:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: realtime entrypoint: realtime
container_name: appwrite-realtime container_name: appwrite-realtime
<<: *x-logging <<: *x-logging
@ -180,7 +178,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-audits: appwrite-worker-audits:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-audits entrypoint: worker-audits
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-audits container_name: appwrite-worker-audits
@ -207,7 +205,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-webhooks: appwrite-worker-webhooks:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-webhooks entrypoint: worker-webhooks
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-webhooks container_name: appwrite-worker-webhooks
@ -230,7 +228,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-deletes: appwrite-worker-deletes:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-deletes entrypoint: worker-deletes
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-deletes container_name: appwrite-worker-deletes
@ -286,7 +284,7 @@ services:
- _APP_EXECUTOR_HOST - _APP_EXECUTOR_HOST
appwrite-worker-databases: appwrite-worker-databases:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-databases entrypoint: worker-databases
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-databases container_name: appwrite-worker-databases
@ -313,7 +311,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-builds: appwrite-worker-builds:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-builds entrypoint: worker-builds
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-builds container_name: appwrite-worker-builds
@ -375,7 +373,7 @@ services:
- _APP_STORAGE_WASABI_BUCKET - _APP_STORAGE_WASABI_BUCKET
appwrite-worker-certificates: appwrite-worker-certificates:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-certificates entrypoint: worker-certificates
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-certificates container_name: appwrite-worker-certificates
@ -409,7 +407,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-functions: appwrite-worker-functions:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-functions entrypoint: worker-functions
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-functions container_name: appwrite-worker-functions
@ -446,7 +444,7 @@ services:
- _APP_LOGGING_PROVIDER - _APP_LOGGING_PROVIDER
appwrite-worker-mails: appwrite-worker-mails:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-mails entrypoint: worker-mails
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-mails container_name: appwrite-worker-mails
@ -474,7 +472,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-messaging: appwrite-worker-messaging:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-messaging entrypoint: worker-messaging
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-messaging container_name: appwrite-worker-messaging
@ -496,7 +494,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-worker-migrations: appwrite-worker-migrations:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: worker-migrations entrypoint: worker-migrations
<<: *x-logging <<: *x-logging
container_name: appwrite-worker-migrations container_name: appwrite-worker-migrations
@ -527,7 +525,7 @@ services:
- _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET - _APP_MIGRATIONS_FIREBASE_CLIENT_SECRET
appwrite-maintenance: appwrite-maintenance:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: maintenance entrypoint: maintenance
<<: *x-logging <<: *x-logging
container_name: appwrite-maintenance container_name: appwrite-maintenance
@ -561,7 +559,7 @@ services:
- _APP_MAINTENANCE_RETENTION_SCHEDULES - _APP_MAINTENANCE_RETENTION_SCHEDULES
appwrite-usage: appwrite-usage:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: usage entrypoint: usage
container_name: appwrite-usage container_name: appwrite-usage
<<: *x-logging <<: *x-logging
@ -592,7 +590,7 @@ services:
- _APP_LOGGING_CONFIG - _APP_LOGGING_CONFIG
appwrite-schedule: appwrite-schedule:
<<: *x-image image: appwrite/appwrite:1.4.3
entrypoint: schedule entrypoint: schedule
container_name: appwrite-schedule container_name: appwrite-schedule
<<: *x-logging <<: *x-logging
@ -617,7 +615,7 @@ services:
- _APP_DB_PASS - _APP_DB_PASS
appwrite-assistant: appwrite-assistant:
<<: *x-image-assistant image: appwrite/assistant:0.2.1
container_name: appwrite-assistant container_name: appwrite-assistant
<<: *x-logging <<: *x-logging
restart: unless-stopped restart: unless-stopped

View File

@ -0,0 +1,19 @@
# documentation: https://docs.baby-buddy.net
# slogan: Baby Buddy is an open-source web application that helps parents track their baby's daily activities, growth, and health with ease. It's a handy tool for new parents to keep a close eye on their little one's development.
services:
babybuddy:
image: lscr.io/linuxserver/babybuddy:latest
environment:
- SERVICE_FQDN_BABYBUDDY
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- CSRF_TRUSTED_ORIGINS=$SERVICE_FQDN_BABYBUDDY
volumes:
- babybuddy-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,21 @@
# documentation: https://coder.com/docs/code-server/latest/guide
# slogan: Code-Server is a self-hosted, web-based code editor that enables remote coding and collaboration from any device, anywhere.
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
environment:
- SERVICE_FQDN_CODESERVER
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- PASSWORD=$SERVICE_PASSWORD_64_PASSWORDCODESERVER
- SUDO_PASSWORD=$SERVICE_PASSWORD_SUDOCODESERVER
- DEFAULT_WORKSPACE=/config/workspace
volumes:
- code-server-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8443"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,18 @@
# documentation: https://www.dokuwiki.org/faq
# slogan: A lightweight and easy-to-use wiki platform for creating and managing documentation and knowledge bases with simplicity and flexibility.
services:
dokuwiki:
image: lscr.io/linuxserver/dokuwiki:latest
environment:
- SERVICE_FQDN_DOKUWIKI
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
volumes:
- dokuwiki-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -1,10 +1,13 @@
# documentation: https://fider.io/doc
# slogan: Fider is an open-source feedback platform for collecting and managing user feedback, helping you prioritize improvements to your products and services.
services: services:
fider: fider:
image: getfider/fider:stable image: getfider/fider:stable
environment: environment:
BASE_URL: $SERVICE_FQDN_FIDER BASE_URL: $SERVICE_FQDN_FIDER
DATABASE_URL: postgres://$SERVICE_USER_MYSQL:$SERVICE_PASSWORD_MYSQL@database:5432/fider?sslmode=disable DATABASE_URL: postgres://$SERVICE_USER_MYSQL:$SERVICE_PASSWORD_MYSQL@database:5432/fider?sslmode=disable
JWT_SECRET: $SERVICE_PASSWORD64_FIDER JWT_SECRET: $SERVICE_PASSWORD_64_FIDER
EMAIL_NOREPLY: ${EMAIL_NOREPLY:-noreply@example.com} EMAIL_NOREPLY: ${EMAIL_NOREPLY:-noreply@example.com}
EMAIL_MAILGUN_API: $EMAIL_MAILGUN_API EMAIL_MAILGUN_API: $EMAIL_MAILGUN_API
EMAIL_MAILGUN_DOMAIN: $EMAIL_MAILGUN_DOMAIN EMAIL_MAILGUN_DOMAIN: $EMAIL_MAILGUN_DOMAIN

View File

@ -1,3 +1,6 @@
# documentation: https://ghost.org/docs
# slogan: Ghost is a popular open-source content management system (CMS) and blogging platform, known for its simplicity and focus on content creation.
services: services:
ghost: ghost:
image: ghost:5 image: ghost:5

View File

@ -0,0 +1,18 @@
# documentation: https://github.com/linuxserver/Heimdall
# slogan: Heimdall is a self-hosted dashboard for managing and organizing your server applications, providing a centralized and efficient interface.
services:
heimdall:
image: lscr.io/linuxserver/heimdall:latest
environment:
- SERVICE_FQDN_HEIMDALL
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
volumes:
- heimdall-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,17 @@
# documentation: https://github.com/alexta69/metube
# slogan: A web GUI for youtube-dl with playlist support. It enables you to effortlessly download videos from YouTube and dozens of other sites.
services:
metube:
image: ghcr.io/alexta69/metube:latest
environment:
- SERVICE_FQDN_METUBE
- UID=1000
- GID=1000
volumes:
- metube-downloads:/downloads
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,17 @@
# documentation: https://github.com/schlagmichdoch/PairDrop/blob/master/docs/faq.md
# slogan: Pairdrop is a self-hosted file sharing and collaboration platform, offering secure file sharing and collaboration capabilities for efficient teamwork.
services:
pairdrop:
image: lscr.io/linuxserver/pairdrop:latest
environment:
- SERVICE_FQDN_PAIRDROP
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- DEBUG_MODE=false
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,18 @@
# documentation: https://github.com/RobinLinus/snapdrop/blob/master/docs/faq.md
# slogan: A self-hosted file-sharing service for secure and convenient file transfers, whether on a local network or the internet.
services:
snapdrop:
image: lscr.io/linuxserver/snapdrop:latest
environment:
- SERVICE_FQDN_SNAPDROP
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
volumes:
- snapdrop-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,27 @@
# documentation: https://umami.is/docs/getting-started
# slogan: Umami is a lightweight, self-hosted web analytics platform designed to provide website owners with insights into visitor behavior without compromising user privacy.
services:
umami:
image: ghcr.io/umami-software/umami:postgresql-latest
environment:
- SERVICE_FQDN_UMAMI
- DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/$POSTGRES_DB
- DATABASE_TYPE=postgres
- APP_SECRET=$SERVICE_PASSWORD_64_UMAMI
depends_on:
postgresql:
condition: service_healthy
postgresql:
image: postgres:15-alpine
volumes:
- postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=$SERVICE_USER_POSTGRES
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_DB=${POSTGRES_DB:-umami}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 10

View File

@ -0,0 +1,15 @@
# documentation: https://github.com/louislam/uptime-kuma/wiki
# slogan: Uptime Kuma is a free, self-hosted monitoring tool for tracking the status and performance of your web services and applications in real-time.
services:
uptime-kuma:
image: louislam/uptime-kuma:1
environment:
- SERVICE_FQDN
volumes:
- uptime-kuma:/app/data
healthcheck:
test: ["CMD-SHELL", "extra/healthcheck"]
interval: 2s
timeout: 10s
retries: 15

View File

@ -0,0 +1,26 @@
# documetaion: https://wordpress.org/documentation/
# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app."
services:
wordpress:
image: wordpress:latest
volumes:
- wordpress-files:/var/www/html
environment:
SERVICE_FQDN:
WORDPRESS_DB_HOST: mariadb
WORDPRESS_DB_USER: $SERVICE_USER_WORDPRESS
WORDPRESS_DB_PASSWORD: $SERVICE_PASSWORD_WORDPRESS
WORDPRESS_DB_NAME: wordpress
depends_on:
- mariadb
mariadb:
image: mariadb:11
volumes:
- mariadb-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: $SERVICE_PASSWORD_ROOT
MYSQL_DATABASE: wordpress
MYSQL_USER: $SERVICE_USER_WORDPRESS
MYSQL_PASSWORD: $SERVICE_PASSWORD_WORDPRESS

View File

@ -0,0 +1,26 @@
# documetaion: https://wordpress.org/documentation/
# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app."
services:
wordpress:
image: wordpress:latest
volumes:
- wordpress-files:/var/www/html
environment:
SERVICE_FQDN:
WORDPRESS_DB_HOST: mysql
WORDPRESS_DB_USER: $SERVICE_USER_WORDPRESS
WORDPRESS_DB_PASSWORD: $SERVICE_PASSWORD_WORDPRESS
WORDPRESS_DB_NAME: wordpress
depends_on:
- mysql
mysql:
image: mysql:5.7
volumes:
- mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: $SERVICE_PASSWORD_ROOT
MYSQL_DATABASE: wordpress
MYSQL_USER: $SERVICE_USER_WORDPRESS
MYSQL_PASSWORD: $SERVICE_PASSWORD_WORDPRESS

View File

@ -0,0 +1,10 @@
# documetaion: https://wordpress.org/documentation/
# slogan: "WordPress is open source software you can use to create a beautiful website, blog, or app."
services:
wordpress:
image: wordpress:latest
volumes:
- wordpress-files:/var/www/html
environment:
SERVICE_FQDN: