{"captainVersion":4,"services":{"$$cap_appname-redis":{"image":"redis:7.2","caproverExtra":{"notExposeAsWebApp":"true"}},"$$cap_appname-db":{"image":"postgres:17-alpine","volumes":["$$cap_appname-db-data:/var/lib/postgresql/data"],"restart":"always","environment":{"POSTGRES_USER":"$$cap_db_user","POSTGRES_PASSWORD":"$$cap_db_pass","POSTGRES_DB":"postiz"},"caproverExtra":{"notExposeAsWebApp":"true"}},"$$cap_appname":{"image":"ghcr.io/gitroomhq/postiz-app:$$cap_postiz_version","depends_on":["$$cap_appname-redis","$$cap_appname-db"],"caproverExtra":{"containerHttpPort":"5000"},"volumes":["$$cap_appname-postiz-data:/uploads"],"environment":{"MAIN_URL":"https://$$cap_appname.$$cap_root_domain","FRONTEND_URL":"https://$$cap_appname.$$cap_root_domain","NEXT_PUBLIC_BACKEND_URL":"https://$$cap_appname.$$cap_root_domain/api","JWT_SECRET":"$$cap_secret_key","DATABASE_URL":"postgres://$$cap_db_user:$$cap_db_pass@srv-captain--$$cap_appname-db:5432/postiz","REDIS_URL":"redis://srv-captain--$$cap_appname-redis:6379","BACKEND_INTERNAL_URL":"http://localhost:3000","IS_GENERAL":"true","STORAGE_PROVIDER":"local","UPLOAD_DIRECTORY":"/uploads","NEXT_PUBLIC_UPLOAD_DIRECTORY":"/uploads"}}},"caproverOneClickApp":{"variables":[{"id":"$$cap_postiz_version","label":"Postiz Version","defaultValue":"latest","description":"Check out their page for the valid tags https://hub.docker.com/r/outlinewiki/outline/tags","validRegex":"/^([^\\s^\\/])+$/"},{"id":"$$cap_db_user","label":"Database user","defaultValue":"postizuser","validRegex":"/^([a-zA-Z0-9])+$/"},{"id":"$$cap_db_pass","label":"Database password","description":"","validRegex":"/.{8,}/"},{"id":"$$cap_secret_key","label":"JWT_SECRET","description":"Run this command to generate a key: openssl rand -hex 32","defaultValue":"c63eaeed7ee7459098e2901ed87c8b70817428b85fbe3ef59cb6a79abb2bbf4a","validRegex":"/^([0-9a-f]){64}$/"}],"instructions":{"start":"Postiz is the ultimate social media scheduling tool, with a bunch of AI.","end":"IMPORTANT: before you start using Postiz, you need to \n 1) Enable HTTPS \n 2) Force HTTPS \nIMPORTANT: It will take up to 2 minutes for it to be ready. Before that, you might see a 502 error page.\n"},"displayName":"Postiz","isOfficial":true,"description":"The ultimate social media scheduling tool, with a bunch of AI.","documentation":"Taken from https://docs.postiz.com/installation/docker-compose"}}