Website deploy: run the image tagged current, so plain compose commands work on the server
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-19 11:15:37 +03:00
parent 02fc61b88c
commit c8e33e4ecd
2 changed files with 8 additions and 5 deletions

View file

@ -1,8 +1,9 @@
# Production: docker-prodVM:~/services/ChessPenguinSite (copied there by deploy.sh).
# nginx runs on another host and proxies to this VM on port 8140.
# nginx runs on another host and proxies to this VM on port 8140. deploy.sh tags the
# running version as chesspenguin-site:current, so a plain `docker compose up -d` works.
services:
site:
image: chesspenguin-site:${SITE_TAG:-latest}
image: chesspenguin-site:current
container_name: chesspenguin-site
restart: unless-stopped
env_file: .env