From 207d05abb0dc49c2256fcca9ac8d109c27e402f3 Mon Sep 17 00:00:00 2001 From: qballjos Date: Sat, 31 Oct 2020 13:11:32 +0100 Subject: [PATCH] add yacht, authelia and removed pixelfed test --- README.md | 8 ++-- Template/Stack/bookstack.yml | 2 +- Template/Stack/pixelfed.yml | 80 ---------------------------------- Template/template.json | 84 +++++++++++++++++++++++++----------- 4 files changed, 66 insertions(+), 108 deletions(-) delete mode 100644 Template/Stack/pixelfed.yml diff --git a/README.md b/README.md index ef830ed..da319ed 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ This is a template focused on helping people spin up selfhosted services using Portainer. -### Portainer V1 Templates for Selfhosted Projects/Homelabs has moved to +### Portainer V1 Templates for Selfhosted Projects/Homelabs has moved to url: `https://raw.githubusercontent.com/Qballjos/portainer_templates/master/V1 Template/template.json` -!!!This template will no longer be maintained!!! +!!!This template will no longer be maintained!!! ### Prerequisites @@ -17,7 +17,7 @@ url: `https://raw.githubusercontent.com/Qballjos/portainer_templates/master/V1 T ### Installing -1. Login to your portainer setup go to settings +1. Login to your portainer setup go to settings 2. Enable Use external templates 3. Add the url: `https://raw.githubusercontent.com/Qballjos/portainer_templates/master/Template/template.json` then go to app templates and hit refresh at the top. @@ -37,6 +37,7 @@ All templates are already configured to bind mount to various places on your dri ## App List - Adguard +- Authelia - Guacamole - Homer - Wikijs @@ -124,6 +125,7 @@ All templates are already configured to bind mount to various places on your dri - unifi - webgrabplus - znc +- Yacht ## Contributing diff --git a/Template/Stack/bookstack.yml b/Template/Stack/bookstack.yml index d4c54db..75cbdd6 100644 --- a/Template/Stack/bookstack.yml +++ b/Template/Stack/bookstack.yml @@ -25,7 +25,7 @@ services: - PUID=${PUID} - PGID=${PGID} - MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} - - TZ=${Timezone} + - TZ=${TZ} - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=${DATABASE_PASSWORD} diff --git a/Template/Stack/pixelfed.yml b/Template/Stack/pixelfed.yml deleted file mode 100644 index 8c4f2f1..0000000 --- a/Template/Stack/pixelfed.yml +++ /dev/null @@ -1,80 +0,0 @@ ---- -version: '2.1' -services: - pixelfed_app: - image: zknt/pixelfed - restart: unless-stopped - environment: - - APP_NAME=${APP_NAME:-"PixelFed"} - - APP_ENV=${APP_ENV:-local} - - APP_KEY=${APP_KEY:-S0meR@nd0mStringS0meR@nd0mString} - - APP_DEBUG=${APP_DEBUG:-false} - - APP_URL=${SCHEME:-http}://${DOMAIN:-pixelfed.localhost} - - - ADMIN_DOMAIN=${DOMAIN:-pixelfed.localhost} - - APP_DOMAIN=${DOMAIN:-pixelfed.localhost} - - SESSION_DOMAIN=${DOMAIN:-pixelfed.localhost} - - TRUST_PROXIES="*" - - - LOG_CHANNEL=stack - - - DB_CONNECTION=mysql - - DB_HOST=pixelfed_db - - DB_PORT=3306 - - DB_DATABASE=pixelfed - - DB_USERNAME=pixelfed - - DB_PASSWORD=myp@ssw0rd - - - BROADCAST_DRIVER=log - - CACHE_DRIVER=redis - - SESSION_DRIVER=redis - - QUEUE_DRIVER=redis - - - REDIS_HOST=pixelfed_redis - - REDIS_PASSWORD=null - - REDIS_PORT=6379 - - - MAIL_DRIVER=${MAIL_DRIVER:-log} - - MAIL_HOST=${MAIL_HOST:-mail.service.host} - - MAIL_PORT=${MAIL_PORT:-587} - - MAIL_USERNAME=${MAIL_USERNAME:-username} - - MAIL_PASSWORD=${MAIL_PASSWORD:-password} - - MAIL_ENCRYPTION=${MAIL_ENCRYPTION:-tls} - - MAIL_FROM_ADDRESS=${MAIL_FROM_ADDRESS:-noreply@ethibox.fr} - - MAIL_FROM_NAME=${MAIL_FROM_NAME:-"My name"} - - - OPEN_REGISTRATION=${OPEN_REGISTRATION:-true} - - ENFORCE_EMAIL_VERIFICATION=${ENFORCE_EMAIL_VERIFICATION:-false} - - - MAX_PHOTO_SIZE=15000 - - MAX_CAPTION_LENGTH=150 - - MAX_ALBUM_LENGTH=4 - - - HORIZON_DARKMODE=true - - HORIZON_EMBED=true - - - ACTIVITY_PUB=${ACTIVITY_PUB:-false} - - REMOTE_FOLLOW=${REMOTE_FOLLOW:-false} - volumes: - - /portainer/Files/AppData/Pixelfed/Data:/var/www/storage - depends_on: - - pixelfed_db - - pixelfed_redis - # The port statement makes Pixelfed run on Port 8080, no SSL. - # For a real instance you need a frontend proxy instead! - ports: - - ${PORT}:80 - - pixelfed_db: - image: zknt/mariadb - restart: unless-stopped - environment: - - MYSQL_ROOT_PASSWORD=changeMeForProduction - volumes: - - /portainer/Files/AppData/Pixelfed/DB:/var/lib/mysql - - pixelfed_redis: - image: zknt/redis - restart: unless-stopped - volumes: - - /portainer/Files/AppData/Pixelfed/Redis:/data \ No newline at end of file diff --git a/Template/template.json b/Template/template.json index 4d85783..f16d504 100644 --- a/Template/template.json +++ b/Template/template.json @@ -1,7 +1,7 @@ { "version": "2", "templates": [ - { + { "categories": [ "Other" ], @@ -112,6 +112,37 @@ } ] }, + { + "categories": [ + "Other", + "Tools", + "Authentication" + ], + "description": "An open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal.", + "env": [ + { + "label": "TZ", + "name": "TZ" + } + ], + "image": "authelia/authelia:latest", + "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/authelia.png", + "name": "authelia", + "note": "Requires a configuration.yml file in order to work. Documentation is Available \u003ca href='https://docs.authelia.com/deployment/deployment-ha'\u003ehere\u003c/a\u003e.", + "platform": "linux", + "ports": [ + "9091:9091/tcp" + ], + "restart_policy": "unless-stopped", + "title": "Authelia", + "type": 1, + "volumes": [ + { + "bind": "/portainer/Files/AppData/Config/Authelia", + "container": "/etc/authelia/" + } + ] + }, { "categories": [ "Other", @@ -3727,28 +3758,6 @@ } ] }, - { - "categories": [ - "Photos" - ], - "description": "A free and ethical photo sharing platform, powered by ActivityPub federation.", - "env": [ - { - "default": "8080", - "label": "PORT", - "name": "PORT" - } - ], - "logo": "https://raw.githubusercontent.com/Qballjos/portainer_templates/master/Images/pixelfed.png", - "note": "!!!THIS IS STILL INDEVELOPMENT!!!", - "platform": "linux", - "repository": { - "stackfile": "Template/Stack/pixelfed.yml", - "url": "https://github.com/Qballjos/portainer_templates" - }, - "title": "Pixelfed", - "type": 3 - }, { "categories": [ "Downloaders" @@ -3789,6 +3798,33 @@ } ] }, + { + "categories": [ + "Other", + "Tools" + ], + "description": "A web interface for managing docker containers with an emphasis on templating to provide 1 click deployments. Think of it like a decentralized app store for servers that anyone can make packages for.", + "image": "selfhostedpro/yacht:latest", + "logo": "https://raw.githubusercontent.com/SelfhostedPro/Yacht/master/readme_media/Yacht_logo_1_dark.png", + "name": "yacht", + "platform": "linux", + "ports": [ + "8001:8000/tcp" + ], + "restart_policy": "unless-stopped", + "title": "Yacht", + "type": 1, + "volumes": [ + { + "bind": "yacht", + "container": "/config" + }, + { + "bind": "/var/run/docker.sock", + "container": "/var/run/docker.sock" + } + ] + }, { "categories": [ "Downloaders" @@ -3830,4 +3866,4 @@ ] } ] -} \ No newline at end of file +}