62693 added missing file for docker compose control (#109)

added missing file that should be located in control folder
This commit is contained in:
Simon
2025-04-28 12:54:37 +02:00
committed by GitHub
parent 8ceb237b2b
commit 195e3da18f

47
control/README.md Normal file
View File

@@ -0,0 +1,47 @@
# Control your OpenProject installation
## Backup
Switch off your current installation:
```shell
docker-compose down
````
Build the control scripts:
```shell
docker-compose -f docker-compose.yml -f docker-compose.control.yml build
```
Take a backup of your existing PostgreSQL data and OpenProject assets:
```shell
docker-compose -f docker-compose.yml -f docker-compose.control.yml run backup
```
Restart your OpenProject installation
```shell
docker-compose up -d
````
## Upgrade
Switch off your current installation (using the outdated postgres engine):
```shell
docker-compose down
```
Fetch the latest changes from this repository:
```shell
git pull origin stable/15 # adjust if needed
```
Build the control plane:
```shell
docker-compose -f docker-compose.yml -f docker-compose.control.yml build
```
Take a backup of your existing postgresql data and openproject assets:
```shell
docker-compose -f docker-compose.yml -f docker-compose.control.yml run backup
```
Run the upgrade:
```shell
docker-compose -f docker-compose.yml -f docker-compose.control.yml run upgrade
```
Relaunch your OpenProject installation, using the normal Compose command:
```shell
docker-compose up -d
```
Test that everything works again, the database container should now be running postgres 17.