Make compose stack Portainer compatible
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user