feat: add mixpost (#889)
* add mixpost * fix: insert website to generate key --------- Co-authored-by: Ronald Loyko <info@nordia.io>
This commit is contained in:
parent
843cdbfb74
commit
4058193bab
|
|
@ -0,0 +1,112 @@
|
|||
captainVersion: 4
|
||||
services:
|
||||
$$cap_appname:
|
||||
image: inovector/mixpost:$$cap_MIXPOST_VERSION
|
||||
environment:
|
||||
APP_NAME: $$cap_MIXPOST_APP_NAME
|
||||
APP_KEY: $$cap_MIXPOST_APP_KEY
|
||||
APP_URL: http://$$cap_appname.$$cap_root_domain
|
||||
DB_DATABASE: $$cap_MYSQL_DATABASE
|
||||
DB_USERNAME: $$cap_MYSQL_USER
|
||||
DB_PASSWORD: $$cap_MYSQL_PASSWORD
|
||||
REDIS_PASSWORD: $$cap_REDIS_PASSWORD
|
||||
APP_ENV: $$cap_MIXPOST_APP_ENV
|
||||
APP_DEBUG: $$cap_MIXPOST_APP_DEBUG
|
||||
DB_HOST: srv-captain--$$cap_appname-db
|
||||
REDIS_HOST: srv-captain--$$cap_appname-cache
|
||||
depends_on:
|
||||
- $$cap_appname-db
|
||||
- $$cap_appname-cache
|
||||
volumes:
|
||||
- $$cap_appname-storage:/var/www/html/storage/app
|
||||
- $$cap_appname-logs:/var/www/html/storage/logs
|
||||
$$cap_appname-db:
|
||||
caproverExtra:
|
||||
notExposeAsWebApp: 'true'
|
||||
image: mysql:$$cap_MYSQL_VERSION
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: $$cap_MYSQL_PASSWORD
|
||||
MYSQL_DATABASE: $$cap_MYSQL_DATABASE
|
||||
MYSQL_USER: $$cap_MYSQL_USER
|
||||
MYSQL_PASSWORD: $$cap_MYSQL_PASSWORD
|
||||
volumes:
|
||||
- $$cap_appname-db:/var/lib/mysql
|
||||
$$cap_appname-cache:
|
||||
caproverExtra:
|
||||
notExposeAsWebApp: 'true'
|
||||
dockerfileLines:
|
||||
- FROM redis:$$cap_REDIS_VERSION
|
||||
- CMD redis-server --appendonly yes --replica-read-only no --requirepass "$$cap_REDIS_PASSWORD"
|
||||
volumes:
|
||||
- $$cap_appname-cache:/data
|
||||
caproverOneClickApp:
|
||||
displayName: Mixpost
|
||||
description: Self-Hosted Social Media Management Software
|
||||
isOfficial: true
|
||||
documentation: https://mixpost.app
|
||||
instructions:
|
||||
start: |-
|
||||
Easily create, schedule, publish, and manage social media content in one place, with no limits or monthly subscription fees.
|
||||
It's the perfect social media management solution for bloggers, crafters and entrepreneurs.
|
||||
end: |-
|
||||
Mixpost has been successfully deployed! It might take few moments before it's fully started.
|
||||
You can access the application at `http://$$cap_appname.$$cap_root_domain`.
|
||||
Find the administrator login details in the logs.
|
||||
variables:
|
||||
- id: $$cap_MIXPOST_VERSION
|
||||
label: Application | Version
|
||||
description: Mixpost version. Check out their valid tags at https://hub.docker.com/r/inovector/mixpost
|
||||
defaultValue: 'v1.1.3'
|
||||
validRegex: /.{1,}/
|
||||
- id: $$cap_MYSQL_VERSION
|
||||
label: Database | Version
|
||||
description: MySQL version. Check out their valid tags at https://hub.docker.com/_/mysql/tags
|
||||
defaultValue: '8.0.32'
|
||||
validRegex: /.{1,}/
|
||||
- id: $$cap_REDIS_VERSION
|
||||
label: Cache | Version
|
||||
description: Redis version. Check out their valid tags at https://hub.docker.com/_/redis/tags
|
||||
defaultValue: '7.0-alpine'
|
||||
validRegex: /.{1,}/
|
||||
- id: $$cap_MIXPOST_APP_NAME
|
||||
label: Application | Name
|
||||
description: Name of the application.
|
||||
defaultValue: Mixpost
|
||||
validRegex: /.{1,}/
|
||||
- id: $$cap_MIXPOST_APP_KEY
|
||||
label: Application | Key
|
||||
description: |-
|
||||
Base64 encoded application key for encryption.
|
||||
Use `https://generate-random.org/laravel-key-generator?count=1` to generate a key.
|
||||
defaultValue: base64:d3p4OHptbnFvZXA4bjlieW5wa284MmdlaTY3NjMxa3E=
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
- id: $$cap_MIXPOST_APP_ENV
|
||||
label: Application | Environment
|
||||
description: Application environment. Possible values are `local`, `production` and `testing`.
|
||||
defaultValue: production
|
||||
validRegex: /^(production|local|testing)$/
|
||||
- id: $$cap_MIXPOST_APP_DEBUG
|
||||
label: Application | Debug Information
|
||||
description: Whether to show debug information.
|
||||
defaultValue: 'false'
|
||||
validRegex: /^(true|false)$/
|
||||
- id: $$cap_REDIS_PASSWORD
|
||||
label: Cache | Password
|
||||
description: Password of the Redis instance.
|
||||
defaultValue: $$cap_gen_random_hex(16)
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
- id: $$cap_MYSQL_DATABASE
|
||||
label: Database | Name
|
||||
description: Name of the MySQL database.
|
||||
defaultValue: mixpost
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
- id: $$cap_MYSQL_USER
|
||||
label: Database | User Name
|
||||
description: Name of the MySQL user.
|
||||
defaultValue: mixpost
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
- id: $$cap_MYSQL_PASSWORD
|
||||
label: Database | User Password
|
||||
description: Password of the MySQL user.
|
||||
defaultValue: $$cap_gen_random_hex(16)
|
||||
validRegex: /^([^\s^\/])+$/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue