Update dev deployment strategy.

This commit is contained in:
Ben Binder
2025-03-08 09:42:49 -06:00
parent abb00b7688
commit 404b1adc33
5 changed files with 49 additions and 12 deletions

19
readme.md Normal file
View File

@@ -0,0 +1,19 @@
# Harbormaster Server
## Deployment notes:
### Development:
- Use `scripts/dev.sh`.
- Stops and removes old versions if they exist.
- Builds the image.
- Runs the image in detached mode.
- Tails the container logs on the console.
NOTE: `docker-compose.dev.yml` is not used, kept around for now in case it's useful when setting up the front end.
### Production:
- Use `ci.binderlab.io` (Woodpecker).
- Builds the image.
- Pushes the new image to the registry at `registry.binderlab.io`.
- Pulls down the new image.
- Stops and removes old versions of the app.
- Runs the pulled image in detached mode.