4eef81fdfc
Build and push images to the private registry, then deploy to the VPS by commit SHA with health check and rollback.
19 lines
818 B
Bash
19 lines
818 B
Bash
# Used by docker-compose.yml for the Traefik Host() rule
|
|
DOMAIN=
|
|
|
|
# Which image docker-compose.yml runs. CI passes IMAGE_TAG in the environment
|
|
# (shell env wins over this file), so it only matters for manual `docker compose
|
|
# up` on the VPS — set it to a specific sha to pin, or leave it for :latest.
|
|
# IMAGE_NAME=git.ksan.dev/ksan/ksan.dev
|
|
# IMAGE_TAG=
|
|
|
|
GMAIL_USER=
|
|
GMAIL_APP_PASSWORD=
|
|
CONTACT_TO_EMAIL=
|
|
|
|
# Private pricing pages — JSON array, one object per page, reached at
|
|
# /<locale>/plans/<code>. `landing`/`webApp`/`care` take a number (rendered as
|
|
# €N, formatted per locale) or a string (used verbatim). Add or remove objects
|
|
# to add or remove pages. Generate an unguessable code with: openssl rand -hex 8
|
|
PLANS_PAGES=[{"code":"REPLACE_WITH_RANDOM_HEX","landing":500,"webApp":2000,"care":[25,60,120]}]
|