There is no CI, so a git push deploys nothing - the image has to be built and the stack restarted separately. This captures that as one command rather than a sequence to remember. The image is built on the LXC and tagged with the registry name the compose file already references, so compose finds it locally and never pulls. That means no registry credentials are needed on either machine. Also records the two things that cost the most time to work out: the public hostname resolves to the reverse proxy rather than the container (192.168.2.169), and the live stack runs from /root/drinktracker while the checkouts under /home/drinkadmin are stale. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
5.4 KiB
Executable File
5.4 KiB
Executable File