Website deploy: run the image tagged current, so plain compose commands work on the server
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
02fc61b88c
commit
c8e33e4ecd
2 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue