generated from coop-cloud/example
Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b694ca6df3 | |||
| 144d6a6e3d | |||
| 41ad17d163 | |||
| 9201ac8051 | |||
| 8f3cf17a90 | |||
| 1506db7e0b | |||
| 980e247bb5 | |||
| cbf1671295 | |||
| c640c6ef17 | |||
| 6eedb2101a | |||
| c3f9d53fc7 | |||
| dc8cdf8238 | |||
| 8eb0e51a98 | |||
| 46798abbc2 | |||
|
0d1ab925eb
|
+2
-2
@@ -35,7 +35,7 @@ SECRET_PEERTUBE_SECRET_VERSION=v1 # length=32
|
||||
#NGINX_WEBSEED_CDN_URI=https://some-bucket.some-cdn.net
|
||||
|
||||
## E-mail settings # <= EDIT ALL THIS
|
||||
#COMPOSE_FILE="compose.yml:compose.smtp.yml"
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||
#PEERTUBE_SMTP_ENABLED=1
|
||||
#SECRET_SMTP_PASSWORD_VERSION=v1
|
||||
#PEERTUBE_SMTP_USERNAME=foobar
|
||||
@@ -46,7 +46,7 @@ SECRET_PEERTUBE_SECRET_VERSION=v1 # length=32
|
||||
#PEERTUBE_SMTP_DISABLE_STARTTLS=true
|
||||
|
||||
## Live stream settings
|
||||
#COMPOSE_FILE="compose.yml:compose.rtmp.yml"
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.rtmp.yml"
|
||||
|
||||
## Live chat settings
|
||||
#PEERTUBE_LIVE_CHAT_ENABLED=1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# shellcheck disable=SC2034,SC2145
|
||||
|
||||
export NGINX_CONFIG_VERSION=v8
|
||||
export NGINX_CONFIG_VERSION=v9
|
||||
export APP_ENTRYPOINT_VERSION=v7
|
||||
|
||||
sub_npm() {
|
||||
|
||||
+4
-4
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx:1.29.4
|
||||
image: nginx:1.29.8
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
@@ -40,7 +40,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
|
||||
app:
|
||||
image: chocobozzz/peertube:v7.3.0-bookworm
|
||||
image: chocobozzz/peertube:v8.2.3-trixie
|
||||
environment:
|
||||
- PEERTUBE_ADMIN_EMAIL
|
||||
- PEERTUBE_CONTACT_FORM_ENABLED
|
||||
@@ -79,7 +79,7 @@ services:
|
||||
- internal
|
||||
deploy:
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.version=7.2.1+v7.3.0-bookworm"
|
||||
- "coop-cloud.${STACK_NAME}.version=8.3.1+v8.2.3-trixie"
|
||||
|
||||
db:
|
||||
image: pgautoupgrade/pgautoupgrade:18-alpine
|
||||
@@ -90,7 +90,7 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
volumes:
|
||||
- postgres-data:/var/lib/postgresql/data
|
||||
- postgres-data:/var/lib/postgresql/
|
||||
networks:
|
||||
- internal
|
||||
healthcheck:
|
||||
|
||||
+3
-1
@@ -179,7 +179,9 @@ http {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
|
||||
# Prevent too much proxying, which results in high disk write IO
|
||||
proxy_max_temp_file_size 50M;
|
||||
proxy_limit_rate 5M;
|
||||
|
||||
proxy_pass http://backend;
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Please update your .env file, specially if you're using SMTP or RTMP.
|
||||
@@ -0,0 +1,23 @@
|
||||
Bumping peertube to v8.0.2
|
||||
|
||||
* Ensure storage.uploads directory is set in your `production.yaml` (in `/var/lib/docker/volumes/<app>_app-config/_data`)
|
||||
* Copy over the [`default.yaml`](https://raw.githubusercontent.com/Chocobozzz/PeerTube/refs/tags/v8.0.2/config/default.yaml) in to `/var/lib/docker/volumes/<app>_app-config/_data/`
|
||||
* Database migrations of this version can take a long time (up to 30 minutes on an instance with many users/federation actors and a slow database disk)
|
||||
* You need to manually execute a migration script after your upgrade while PeerTube is running and the database migration is complete(`Migrations finished. New migration version schema: 970 in PeerTube startup logs`):
|
||||
|
||||
To search the logs:
|
||||
`abra app logs <app>`
|
||||
|
||||
To run the migration:
|
||||
|
||||
```
|
||||
abra app run <app> app bash --user peertube
|
||||
export ARGS="-e NODE_CONFIG_DIR=/config -e NODE_ENV=production"
|
||||
export PEERTUBE_DB_PASSWORD=$(cat /run/secrets/db_password)
|
||||
node dist/scripts/migrations/peertube-8.0.js```
|
||||
|
||||
Full release notes:
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.0.0
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.0.1
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.0.2
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
Bumping peertube to v8.1.8
|
||||
|
||||
* You need to manually execute a migration script after your upgrade while PeerTube is running and the database migration is complete(`Migrations finished. New migration version schema: 1000 in PeerTube startup logs`):
|
||||
|
||||
To search the logs:
|
||||
`abra app logs <app>`
|
||||
|
||||
To run the migration, regenerate thumbnails, prune storage:
|
||||
|
||||
```
|
||||
abra app run <app> app bash --user peertube
|
||||
|
||||
export ARGS="-e NODE_CONFIG_DIR=/config -e NODE_ENV=production"
|
||||
export PEERTUBE_DB_PASSWORD=$(cat /run/secrets/db_password)
|
||||
|
||||
node dist/scripts/migrations/peertube-8.1.js
|
||||
|
||||
npm run regenerate-thumbnails
|
||||
|
||||
npm run prune-storage
|
||||
```
|
||||
|
||||
|
||||
|
||||
Full release notes:
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.1.0
|
||||
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.1.8
|
||||
@@ -0,0 +1,8 @@
|
||||
Bumping peertube to v8.2.1
|
||||
|
||||
* Copy over the [`default.yaml`](https://raw.githubusercontent.com/Chocobozzz/PeerTube/refs/tags/v8.2.1/config/default.yaml) in to `/var/lib/docker/volumes/<app>_app-config/_data/`
|
||||
|
||||
Full release notes:
|
||||
https://github.com/Chocobozzz/PeerTube/releases/tag/v8.2.0
|
||||
|
||||
Massive thanks to 3wc for the help!!
|
||||
Reference in New Issue
Block a user