Update dev deployment strategy.
This commit is contained in:
19
readme.md
Normal file
19
readme.md
Normal 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.
|
||||
Reference in New Issue
Block a user