HH/deploy/target.dev.yaml
2026-07-05 14:49:45 +03:00

25 lines
936 B
YAML

# PX360 — DEV deploy target.
# Usage: `make deploy-dev` (runs: target deploy --config deploy/target.dev.yaml)
app:
name: "hh-dev" # isolated project dir: ~/.target/hh-dev/
domain: "test.ismailmosaibrahim.com" # shared Caddy routes this domain → web_app
port: 8888
server:
ip: "10.132.16.5"
user: "ahh-ops"
ssh_key: "~/.ssh/id_rsa"
build:
engine: "local"
context: "." # repo root (where the Dockerfile lives)
deploy:
use_caddy: false # shared target-caddy handles HTTPS
caddy_email: "ismail.mosa.ibrahim@gmail.com"
compose_file: "deploy/compose.dev.yml" # user-provided compose (uses {{ .ImageTag }})
env_file: "deploy/env.dev" # shipped to ~/.target/hh-dev/.env each deploy
pre_deploy: "python manage.py migrate --noinput" # runs before the swap (old keeps serving)
cleanup: ["remote", "local"]
keep_versions: 2