docs: Update deployment instructions for podman
This commit is contained in:
parent
224ce5ec1a
commit
91426a6c07
@ -45,25 +45,26 @@
|
|||||||
|
|
||||||
3. **Kør migration (VIGTIGT!):**
|
3. **Kør migration (VIGTIGT!):**
|
||||||
```bash
|
```bash
|
||||||
docker-compose exec postgres psql -U bmcnetworks -d bmc_hub -f /app/migrations/053_timetracking_approval_columns.sql
|
# Med podman:
|
||||||
|
podman exec bmc-hub-postgres psql -U bmcnetworks -d bmc_hub -f /app/migrations/053_timetracking_approval_columns.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
**ELLER via docker cp hvis mounted wrong:**
|
**ELLER kopier filen først hvis mounted wrong:**
|
||||||
```bash
|
```bash
|
||||||
docker cp migrations/053_timetracking_approval_columns.sql bmc-hub-postgres:/tmp/
|
podman cp migrations/053_timetracking_approval_columns.sql bmc-hub-postgres:/tmp/
|
||||||
docker-compose exec postgres psql -U bmcnetworks -d bmc_hub -f /tmp/053_timetracking_approval_columns.sql
|
podman exec bmc-hub-postgres psql -U bmcnetworks -d bmc_hub -f /tmp/053_timetracking_approval_columns.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
4. **Genstart API:**
|
4. **Genstart API:**
|
||||||
```bash
|
```bash
|
||||||
docker-compose restart api
|
podman restart bmc-hub-api
|
||||||
```
|
```
|
||||||
|
|
||||||
5. **Verificer:**
|
5. **Verificer:**
|
||||||
```bash
|
```bash
|
||||||
# Test godkendelse i wizard
|
# Test godkendelse i wizard
|
||||||
# Tjek logs for fejl
|
# Tjek logs for fejl
|
||||||
docker-compose logs -f api | grep -E "(Error|✅|❌)"
|
podman logs -f bmc-hub-api | grep -E "(Error|✅|❌)"
|
||||||
```
|
```
|
||||||
|
|
||||||
## ⚠️ Breaking Changes
|
## ⚠️ Breaking Changes
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user