mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-22 08:03:19 +01:00
postgres data persistance
This commit is contained in:
parent
8d2d08a413
commit
03d682fb5b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
.env
|
||||
postgres-data
|
||||
|
26
README.md
26
README.md
@ -64,6 +64,8 @@ Also don't forget to forward all necassary ports listed in http://docs.bigbluebu
|
||||
|
||||
|
||||
## Upgrading
|
||||
|
||||
### Upgrade BigBlueButton
|
||||
```bash
|
||||
cd bbb-docker
|
||||
|
||||
@ -78,11 +80,29 @@ docker-compose build --pull --no-cache
|
||||
|
||||
# recreate updated services
|
||||
docker-compose up -d
|
||||
|
||||
# Missing:
|
||||
# greenlight & https image updates
|
||||
```
|
||||
|
||||
### Upgrade Greenlight
|
||||
**Important:** especially with a version before 2020-05-17 create a database backup before, since the data is not persitent between container recreations.
|
||||
```bash
|
||||
cd bbb-docker
|
||||
|
||||
# create a database backup
|
||||
docker exec -t docker_postgres_1 pg_dumpall -c -U postgres > /root/greenlight_`date +%d-%m-%Y"_"%H_%M_%S`.sql
|
||||
|
||||
# pull repo changes
|
||||
git pull
|
||||
|
||||
# pull image updates
|
||||
docker-compose -f docker-compose.greenlight.yml pull
|
||||
|
||||
# recreate & restart services if necessary
|
||||
docker-compose -f docker-compose.greenlight.yml up -d
|
||||
```
|
||||
|
||||
### Upgrade HTTPS Proxy
|
||||
[to be written]
|
||||
|
||||
## Special thanks to
|
||||
- @dkrenn, whos dockerized version (bigbluebutton#8858)(https://github.com/bigbluebutton/bigbluebutton/pull/8858) helped me a lot in understand and some configs.
|
||||
|
||||
|
@ -22,3 +22,5 @@ services:
|
||||
POSTGRES_DB: greenlight
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
volumes:
|
||||
- ./postgres-data:/var/lib/postgresql/data
|
Loading…
Reference in New Issue
Block a user