Compare commits

..
Author SHA1 Message Date
3wordchant 026c11cf3d chore: publish 6.1.0+v7.3.0-bookworm release
continuous-integration/drone/tag Build is passing
2025-12-14 19:34:17 -05:00
9 changed files with 21 additions and 77 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ SECRET_DB_PASSWORD_VERSION=v1
# Comment out these lines if you want to store the peertube secret in a config file instead of a docker secret
COMPOSE_FILE="$COMPOSE_FILE:compose.peertube-secret.yml"
SECRET_PEERTUBE_SECRET_VERSION=v1 # length=32
SECRET_PEERTUBE_SECRET_VERSION=v1
## Webseed backend
#
@@ -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_FILE:compose.smtp.yml"
#COMPOSE_FILE="compose.yml: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_FILE:compose.rtmp.yml"
#COMPOSE_FILE="compose.yml:compose.rtmp.yml"
## Live chat settings
#PEERTUBE_LIVE_CHAT_ENABLED=1
+6 -4
View File
@@ -21,10 +21,12 @@ An ActivityPub-federated video streaming platform using P2P directly in your web
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new peertube`
4. `abra app secret generate YOURAPPDOMAIN -a`
5. `abra app config YOURAPPDOMAIN` - be sure to change `DOMAIN` to something that resolves to your Docker swarm box
6. `abra app deploy YOURAPPDOMAIN`
7. Open the configured domain in your browser to finish set-up
4. `abra app cmd -l YOURAPPDOMAIN generate_secret`
5. `abra app secret generate YOURAPPDOMAIN -a`
6. `abra app config YOURAPPDOMAIN` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box
7. `abra app deploy YOURAPPDOMAIN`
8. Open the configured domain in your browser to finish set-up
## Host-mode networking
+5 -1
View File
@@ -1,8 +1,12 @@
# shellcheck disable=SC2034,SC2145
export NGINX_CONFIG_VERSION=v9
export NGINX_CONFIG_VERSION=v8
export APP_ENTRYPOINT_VERSION=v7
generate_secret() {
abra app secret insert "$APP_NAME" peertube_secret v1 "$(openssl rand -hex 32)" --chaos
}
sub_npm() {
abra__service_="app"
+5 -5
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
web:
image: nginx:1.29.8
image: nginx:1.29.4
networks:
- proxy
- internal
@@ -40,7 +40,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
app:
image: chocobozzz/peertube:v8.2.4-trixie
image: chocobozzz/peertube:v7.3.0-bookworm
environment:
- PEERTUBE_ADMIN_EMAIL
- PEERTUBE_CONTACT_FORM_ENABLED
@@ -79,10 +79,10 @@ services:
- internal
deploy:
labels:
- "coop-cloud.${STACK_NAME}.version=8.3.2+v8.2.4-trixie"
- "coop-cloud.${STACK_NAME}.version=6.1.0+v7.3.0-bookworm"
db:
image: pgautoupgrade/pgautoupgrade:18-alpine
image: pgautoupgrade/pgautoupgrade:17-alpine
environment:
- POSTGRES_USER=peertube
- POSTGRES_DB=peertube
@@ -90,7 +90,7 @@ services:
secrets:
- db_password
volumes:
- postgres-data:/var/lib/postgresql/
- postgres-data:/var/lib/postgresql/data
networks:
- internal
healthcheck:
+2 -4
View File
@@ -130,7 +130,7 @@ http {
font/truetype
font/opentype
application/vnd.ms-fontobject
image/svg+xml
image/svg+xml;
application/xml;
gzip_min_length 1000; # default is 20 bytes
gzip_buffers 16 8k;
@@ -179,9 +179,7 @@ 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;
-1
View File
@@ -1 +0,0 @@
Please update your .env file, specially if you're using SMTP or RTMP.
-23
View File
@@ -1,23 +0,0 @@
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
-28
View File
@@ -1,28 +0,0 @@
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
-8
View File
@@ -1,8 +0,0 @@
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!!