1.7 KiB
1.7 KiB
Local Docker Deployment
This repository includes a dedicated Compose file for normal local usage without rebuilding the image from source.
Why use this instead of compose.yaml
compose.local.yamlpulls the published ConvertX imagecompose.yamlbuilds from the local checkout and is intended for development and testing- Keeping them separate makes upgrades easier and avoids accidentally coupling local usage to repository state
Prerequisites
- Docker Desktop or a compatible Docker Engine
First-time setup
- Copy the example environment file:
cp .env.local.example .env.local
- Set a long random
JWT_SECRETin.env.local - Start the service:
docker compose --env-file .env.local -f compose.local.yaml up -d
- Verify the service is healthy:
docker compose --env-file .env.local -f compose.local.yaml ps
curl -fsS http://127.0.0.1:3000/healthcheck
- Open
http://localhost:3000 - Create the first account before exposing the service to anyone else
Useful operations
Start or update the container:
docker compose --env-file .env.local -f compose.local.yaml up -d
Stop the container:
docker compose --env-file .env.local -f compose.local.yaml down
View logs:
docker compose --env-file .env.local -f compose.local.yaml logs -f
Restart after changing configuration:
docker compose --env-file .env.local -f compose.local.yaml restart
Notes
- The persistent database and job files are stored in
./data HTTP_ALLOWED=trueis appropriate for localhost usageCONVERTX_IMAGEdefaults to the published release image and can be overridden if you need a different tag