Open marktopper opened 8 months ago
Name | Link |
---|---|
Latest commit | 7ad680bd08ffed9d2b202cfcc00047e31fd5b9e1 |
Latest deploy log | https://app.netlify.com/sites/easypanel-templates/deploys/6628dd3c125bfa00080bbfa6 |
Deploy Preview | https://deploy-preview-501--easypanel-templates.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
@deiucanta This has been updated to use the new EASYPANEL_HOST
variable + the addition of more configuration options.
This templates allows to setup Plane v0.16-dev.
Utilities Addition
In this PR (commit 4c7cac0), I also updated the
randomPassword
utility method, to support a optionallength
parameter, to generate longer passwords.Why customize
This template uses file mounts to overwrite some logic in the proxy service.
/etc/nginx/nginx.conf.custom
: This is because the default nginx configuration inmakeplane/proxy
uses other internal host names (such asapi
,web
,space
andminio
) rather than the full hostnames supported by EasyPanel (such asPROJECTNAME_api
,PROJECTNAME_web
,PROJECTNAME_space
andPROJECTNAME_minio
)./custom-docker-entrypoint.sh
: This is used to apply the custom nginx configuration above.Template Issues
These was all resolved in 2ecaedb, applying the new
EASYPANEL_HOST
variable available in EasyPanel v1.13.5.~We are using the
$(EASYPANEL_DOMAIN)
option to automatically generate the domain names for theproxy
andminio
services. However, since this variable includes the service name, it applies the wrong domain names below:~proxy
service domain name, should ideally bePROJECTNAME.INSTANCE.easypanel.host
, and notPROJECTNAME-proxy.INSTANCE.easypanel.host
.~WEB_URL
environment inapi
,beat-worker
andworker
service should match the above domain name. Right now it applies the service name (api
,beat-worker
andworker
) to it.~minio
service, should ideally be something like one of the following options:~ ~-PROJECTNAME-minio.INSTANCE.easypanel.io + PROJECTNAME-minio-console.INSTANCE.easypanel.io
~ ~-PROJECTNAME-minio.INSTANCE.easypanel.io + console.PROJECTNAME-minio.INSTANCE.easypanel.io
~AWS_S3_ENDPOINT_URL
environment inapi
,beat-worker
andworker
service should match the above domain name. Right now it applies the service name (api
,beat-worker
andworker
) to it.~Optimizations
api
,beat-worker
andworker
able to connect to theminio
service using the internal hostname, therefor a domain for theminio
service API is required, while it would be safer to use a internal endpoint for this.makeplane/proxy
supported setting the hostnames by environment variables, then we can remove the custom nginx configuration and the custom entrypoint.But this will do for now.