Setup¶
This page covers running Yamtrack with Docker.
Docker¶
The Docker setup uses the published Yamtrack image, so you do not need to clone the repository. Download a Compose file, adjust the environment values, and start the containers.
Prerequisites¶
- Docker and Docker Compose installed.
1) Download a Compose file¶
For the default SQLite setup:
SQLite is enough for most personal installs. It stores the database in the local db directory created beside the Compose file.
If you prefer PostgreSQL, download the PostgreSQL example instead:
2) Update the environment values¶
Open the Compose file and replace the example secret:
Use a long random value for SECRET. If you are running Yamtrack behind a reverse proxy, also set URLS to the public origin:
The URL must include the protocol (https or http) and should not include a trailing slash or application path. Multiple origins can be separated with commas.
For the full list of supported settings, see Environment Variables.
3) Start Yamtrack¶
For SQLite:
For PostgreSQL:
If your system uses the older Compose command, replace docker compose with docker-compose.
4) Open the app¶
Open Yamtrack at:
If you changed the port mapping in the Compose file, use the port you configured.
Reverse Proxy Setup¶
When using a reverse proxy, URLS tells Yamtrack which public origins it should trust. This is required for CSRF protection, OAuth redirects, and webhook integrations.
Example:
If you see 403 Forbidden behind a proxy, check that URLS exactly matches the public URL you use in the browser.
Troubleshooting¶
Check the Yamtrack container logs:
Check the Redis container logs: