mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
Added peertube
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
* [Github](https://github.com/gtsteffaniak/filebrowser/tree/main)
|
||||
* [Getting Started Wiki](https://github.com/gtsteffaniak/filebrowser/wiki/Getting-Started)
|
||||
* [Configuration Docs](https://github.com/gtsteffaniak/filebrowser/wiki/Configuration-And-Examples)
|
||||
|
||||
Proxy Port: 80
|
||||
Username: admin
|
||||
|
||||
@@ -9,5 +9,4 @@ services:
|
||||
FILEBROWSER_CONFIG: "${FILEBROWSER_CONFIG:-/home/filebrowser/config.yaml}"
|
||||
FILEBROWSER_ADMIN_PASSWORD: ${FILEBROWSER_ADMIN_PASSWORD:-admin}
|
||||
TZ: ${TZ:-America/Vancouver}
|
||||
ports:
|
||||
- "80:80"
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
# PeerTube
|
||||
|
||||
* [Docs](https://docs.joinpeertube.org/)
|
||||
|
||||
Proxy port: 1935
|
||||
|
||||
Change admin user (username is admin in gui but root in cli):
|
||||
|
||||
```
|
||||
docker compose exec peertube npm run reset-password -- -u root
|
||||
```
|
||||
|
||||
NOTICE: I've added this one for testing, it didn't fit what I was wanting, but I'll levae it here as it did boot.
|
||||
@@ -0,0 +1,57 @@
|
||||
services:
|
||||
peertube:
|
||||
image: chocobozzz/peertube:production-bookworm
|
||||
ports:
|
||||
- "9000:9000" # Local access via http://localhost:9000
|
||||
volumes:
|
||||
- ./data/peertube/data:/data # Stores raw videos
|
||||
- ./data/peertube/config:/config # Custom configs
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- POSTGRES_USER=peertube
|
||||
- POSTGRES_PASSWORD=peertube
|
||||
- POSTGRES_DB=peertube
|
||||
- PEERTUBE_DB_USERNAME=peertube
|
||||
- PEERTUBE_DB_PASSWORD=peertube
|
||||
- PEERTUBE_DB_SSL=false
|
||||
- PEERTUBE_DB_HOSTNAME=postgres
|
||||
- PEERTUBE_WEBSERVER_HOSTNAME=localhost # Use localhost for offline
|
||||
- PEERTUBE_WEBSERVER_PORT=9000
|
||||
- PEERTUBE_WEBSERVER_HTTPS=false
|
||||
- PEERTUBE_SIGNUP_ENABLED=false # Disable public signups for private use
|
||||
- PEERTUBE_TRANSCODING_ENABLED=false # Optional: Disable to keep only raw files
|
||||
- PEERTUBE_CONTACT_FORM_ENABLED=false # Disable for offline
|
||||
- PEERTUBE_ADMIN_EMAIL=admin@example.com # Local email, no SMTP needed
|
||||
- PEERTUBE_ADMIN_USERNAME=admin # Changed for clarity
|
||||
- PEERTUBE_ADMIN_PASSWORD=changeme123 # Stronger password
|
||||
- PEERTUBE_SECRET=FpRb4xKCgNHMv9MqmxMVqcwM9HRsVLs3N9hNtkFvXJTVkmjw3gpbmnxRrjtwLVvx # pwgen -cnsB1v 64
|
||||
- PEERTUBE_FEDERATION_ENABLED=false # Disable federation for offline
|
||||
- PEERTUBE_TRACKER_ENABLED=false # Disable WebTorrent trackers
|
||||
- PEERTUBE_IMPORT_ENABLED=false # Disable external imports
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
networks:
|
||||
- peertube-net
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine # Updated to latest stable
|
||||
volumes:
|
||||
- ./data/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=peertube
|
||||
- POSTGRES_PASSWORD=peertube
|
||||
- POSTGRES_DB=peertube
|
||||
networks:
|
||||
- peertube-net
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine # Updated to latest stable
|
||||
volumes:
|
||||
- ./data/redis:/data
|
||||
networks:
|
||||
- peertube-net
|
||||
|
||||
networks:
|
||||
peertube-net:
|
||||
driver: bridge
|
||||
@@ -0,0 +1 @@
|
||||
# Nothing Here
|
||||
Reference in New Issue
Block a user