deploy code 2
This commit is contained in:
@@ -86,6 +86,15 @@ sudo ufw allow 3001/tcp
|
||||
docker compose --env-file .env up -d --build
|
||||
```
|
||||
|
||||
If the API container is unhealthy, check logs:
|
||||
|
||||
```bash
|
||||
docker compose --env-file .env logs api
|
||||
docker compose --env-file .env ps
|
||||
```
|
||||
|
||||
Rebuild after changes: `docker compose --env-file .env up -d --build api`
|
||||
|
||||
Verify:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user