Make compose stack Portainer compatible
All checks were successful
production-orders-sync CI/CD / Test (push) Successful in 9m32s
production-orders-sync CI/CD / Build and Push Image (push) Successful in 11s
production-orders-sync CI/CD / Trigger Portainer (push) Successful in 2s

This commit is contained in:
Cauê Faleiros
2026-07-02 15:18:44 -03:00
parent 511add34c8
commit baade0a980
3 changed files with 40 additions and 22 deletions

View File

@@ -101,10 +101,15 @@ Inspect the dry-run logs before enabling writes. Dry-run logs include the Tiny r
Build and run the worker once:
```sh
docker compose run --rm production-orders-sync
docker build -t production-orders-sync:local .
PRODUCTION_ORDERS_SYNC_IMAGE=production-orders-sync:local docker compose run --rm production-orders-sync
```
The included `postgres` service is only a local example. In normal deployment, set `DATABASE_URL` to the existing Graphs Postgres database.
The optional local Postgres example is in `docker-compose.local-db.yml`. In normal deployment, set `DATABASE_URL` to the existing Graphs Postgres database.
```sh
docker compose -f docker-compose.local-db.yml up -d postgres
```
## Gitea Actions + Portainer