mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
fix second batch of _dev stacks: mariadb, mealie, nocodb, openarchiver, penpot, peertube, poste, posthog, suitecrm, zammad
This commit is contained in:
+44
-39
@@ -1,11 +1,30 @@
|
||||
services:
|
||||
peertube:
|
||||
image: chocobozzz/peertube:production-bookworm
|
||||
ports:
|
||||
- "9000:9000" # Local access via http://localhost:9000
|
||||
postgres:
|
||||
image: ${PEERTUBE_POSTGRES_IMAGE:-postgres:16-alpine}
|
||||
restart: ${PEERTUBE_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ./data/peertube/data:/data # Stores raw videos
|
||||
- ./data/peertube/config:/config # Custom configs
|
||||
- ${VOL_PATH:-/data}/peertube/postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_USER=peertube
|
||||
- POSTGRES_PASSWORD=peertube
|
||||
- POSTGRES_DB=peertube
|
||||
networks:
|
||||
- internal
|
||||
|
||||
redis:
|
||||
image: ${PEERTUBE_REDIS_IMAGE:-redis:7-alpine}
|
||||
restart: ${PEERTUBE_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/peertube/redis:/data
|
||||
networks:
|
||||
- internal
|
||||
|
||||
peertube:
|
||||
image: ${PEERTUBE_IMAGE:-chocobozzz/peertube:production-bookworm}
|
||||
restart: ${PEERTUBE_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/peertube/data:/data
|
||||
- ${VOL_PATH:-/data}/peertube/config:/config
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- POSTGRES_USER=peertube
|
||||
@@ -15,43 +34,29 @@ services:
|
||||
- PEERTUBE_DB_PASSWORD=peertube
|
||||
- PEERTUBE_DB_SSL=false
|
||||
- PEERTUBE_DB_HOSTNAME=postgres
|
||||
- PEERTUBE_WEBSERVER_HOSTNAME=localhost # Use localhost for offline
|
||||
- PEERTUBE_WEBSERVER_HOSTNAME=${PEERTUBE_HOSTNAME:-localhost}
|
||||
- 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
|
||||
- PEERTUBE_SIGNUP_ENABLED=false
|
||||
- PEERTUBE_TRANSCODING_ENABLED=false
|
||||
- PEERTUBE_CONTACT_FORM_ENABLED=false
|
||||
- PEERTUBE_ADMIN_EMAIL=${PEERTUBE_ADMIN_EMAIL:-admin@example.com}
|
||||
- PEERTUBE_ADMIN_USERNAME=admin
|
||||
- PEERTUBE_ADMIN_PASSWORD=${PEERTUBE_ADMIN_PASSWORD:-changeme123}
|
||||
- PEERTUBE_SECRET=${PEERTUBE_SECRET:?must_be_set}
|
||||
- PEERTUBE_FEDERATION_ENABLED=false
|
||||
- PEERTUBE_TRACKER_ENABLED=false
|
||||
- PEERTUBE_IMPORT_ENABLED=false
|
||||
ports:
|
||||
- "${PEERTUBE_PORT:-9000}:9000"
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
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
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
|
||||
Reference in New Issue
Block a user