This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Commit c26ca45
authored
Use CANASTA_IMAGE environment variable for web service image (#73)
Change the web service image from a hardcoded registry reference to use
an environment variable with a default fallback:
image: ${CANASTA_IMAGE:-ghcr.io/canastawiki/canasta:latest}
This allows the Canasta CLI to override the image when building from
local source with the --build-from flag. The CLI sets CANASTA_IMAGE
in the .env file to point to the locally built image (e.g., canasta:local).
When CANASTA_IMAGE is not set, the default behavior remains unchanged,
pulling from the GitHub Container Registry.1 parent 5c751bd commit c26ca45
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments