Updating your Draftable API Self-Hosted instance means updating to use the latest image version which ensures access to the newest features, performance improvements, and security updates. This guide walks you through the steps to update your instance.
Prerequisites
- Ensure you have administrative access to the server running the Draftable API Self-Hosted instance.
- Verify that Docker and Docker Compose are installed on the server.
Steps to Update the Draftable API Self-Hosted Instance
1. Pull the Latest Docker Image
Use the docker pull
command to download the latest image from the Draftable repository:
This command ensures that the most recent version of the image is downloaded to your server.
2. Update the docker-compose.yml
File
The docker-compose.yml
file defines how your container is configured and deployed. Locate this file in the directory where your Draftable API instance is hosted.
- Open the file in a your preferred text editor.
- Update the
image
field under theservices
section to ensure it references the latest image:
- Save and exit the editor
3. Restart the Container
To apply the updates, restart your container with the updated configuration:
4. Verify the Update
- Check that the container is running:
- Navigate to your instance's web interface or API endpoint to confirm it is operational.
- You can also confirm the version of Self Hosted, by navigating to the Admin page and checking the bottom left corner.
If you have any issues following the above information or questions in general, please get in contact with us at support@draftable.com