4eef81fdfc
Build and push images to the private registry, then deploy to the VPS by commit SHA with health check and rollback.
15 lines
507 B
YAML
15 lines
507 B
YAML
# Local-dev override: restores the build context that docker-compose.yaml gave up
|
|
# when deploys moved to registry images.
|
|
#
|
|
# docker compose -f docker-compose.yaml -f docker-compose.build.yaml up -d --build
|
|
#
|
|
# CI does not use this file — the deploy workflow builds with `docker build`
|
|
# directly so it can tag and push in one step.
|
|
services:
|
|
ksan-dev:
|
|
build:
|
|
context: .
|
|
args:
|
|
PLANS_PAGES: ${PLANS_PAGES}
|
|
image: ${IMAGE_NAME:-git.ksan.dev/ksan/ksan.dev}:${IMAGE_TAG:-dev}
|