1. Add the deployment files
Copy the YML files listed into your deployment repository in the same folder structure and update them as required based on the instructions below.towbar.yml
.towbar
services
posted-api.service.yml
posted-worker.service.yml
posted-web.service.yml
datastores
posted-postgres.datastore.yml
2. Connect the repository
Add your deployment repository as a source in Towbar, mapproduction to your deployment branch and sync it. Review the three services and PostgreSQL datastore.
3. Add runtime values
Generate separate values for the database password andPOSTED_SECRET:
Use
postgres://posted:YOUR_DATABASE_PASSWORD@posted-postgres:5432/posted as the database URL. Replace the password placeholder privately. Set POSTED_WEB_URL to your UI origin and POSTED_API_URL to your API origin.
Fill in the optional keys you uncommented using provider setup and Configuration. Towbar requires a value for every uncommented key.
