Hi there - You can’t add the disk to your Dockerfile, the disk is attached as the service is deployed. It will be attached at the mount point when the service is running.
that would be in the resultant image itself. Disks are intended to provide persistent storage to services as services are ephemeral by default so any files written to the container at runtime would be lost on a restart.
So how can i provide the required disk space for keycloak in the docker container so that keycloak is able to persist data?
Also, i need to pass certificate files to of the custom domain where the web service runs to keycloak in the container… how can i do that?
You’d have to work around that a disk is only attached at service deploy time so you can copy to it with your start command or upload anything required via https://render.com/docs/disks#transferring-files