This commit is contained in:
@@ -13,10 +13,10 @@ http:
|
|||||||
# loadBalancer:
|
# loadBalancer:
|
||||||
# servers:
|
# servers:
|
||||||
# - url: "http://10.0.4.10:8096"
|
# - url: "http://10.0.4.10:8096"
|
||||||
peertube:
|
# peertube:
|
||||||
loadBalancer:
|
# loadBalancer:
|
||||||
servers:
|
# servers:
|
||||||
- url: "http://10.0.4.10:9000"
|
# - url: "http://10.0.4.10:9000"
|
||||||
#-----------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------
|
||||||
# ROUTERS SECTION
|
# ROUTERS SECTION
|
||||||
#-----------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------
|
||||||
@@ -30,13 +30,13 @@ http:
|
|||||||
service: unraid
|
service: unraid
|
||||||
tls: {}
|
tls: {}
|
||||||
|
|
||||||
peertube:
|
# peertube:
|
||||||
rule: "Host(`videos.frostlabs.me`)"
|
# rule: "Host(`videos.frostlabs.me`)"
|
||||||
entryPoints:
|
# entryPoints:
|
||||||
- websecure
|
# - websecure
|
||||||
service: peertube
|
# service: peertube
|
||||||
tls:
|
# tls:
|
||||||
certResolver: cloudflare
|
# certResolver: cloudflare
|
||||||
#-----------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------
|
||||||
# MIDDLEWARES SECTION
|
# MIDDLEWARES SECTION
|
||||||
#-----------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -8,10 +8,16 @@ services:
|
|||||||
- POSTGRES_USER=admin
|
- POSTGRES_USER=admin
|
||||||
- POSTGRES_PASSWORD=AllOfTheStars+1
|
- POSTGRES_PASSWORD=AllOfTheStars+1
|
||||||
- POSTGRES_DB=peertube
|
- POSTGRES_DB=peertube
|
||||||
- POSTGRES_HOSTNAME=peertube-postgres
|
- POSTGRES_HOSTNAME=postgres
|
||||||
- POSTGRES_PORT=5432
|
- POSTGRES_PORT=5432
|
||||||
|
- PEERTUBE_DB_HOSTNAME=postgres
|
||||||
|
- PEERTUBE_DB_PORT=5432
|
||||||
|
- PEERTUBE_DB_USERNAME=admin
|
||||||
|
- PEERTUBE_DB_PASSWORD=AllOfTheStars+1
|
||||||
|
- PEERTUBE_DB_NAME=peertube
|
||||||
# Redis configuration
|
# Redis configuration
|
||||||
- REDIS_HOSTNAME=peertube-redis
|
- REDIS_HOSTNAME=redis
|
||||||
|
- PEERTUBE_REDIS_HOSTNAME=redis
|
||||||
# PeerTube configuration
|
# PeerTube configuration
|
||||||
- PEERTUBE_WEBSERVER_HOSTNAME=videos.frostlabs.me
|
- PEERTUBE_WEBSERVER_HOSTNAME=videos.frostlabs.me
|
||||||
- PEERTUBE_WEBSERVER_PORT=443
|
- PEERTUBE_WEBSERVER_PORT=443
|
||||||
@@ -24,31 +30,30 @@ services:
|
|||||||
- PEERTUBE_SMTP_PASSWORD=tewo awqe ffhw rtun
|
- PEERTUBE_SMTP_PASSWORD=tewo awqe ffhw rtun
|
||||||
- PEERTUBE_SMTP_FROM=frostlabs25@gmail.com
|
- PEERTUBE_SMTP_FROM=frostlabs25@gmail.com
|
||||||
- PEERTUBE_SMTP_TLS=true
|
- PEERTUBE_SMTP_TLS=true
|
||||||
|
- PEERTUBE_SMTP_DISABLE_STARTTLS=false
|
||||||
- PEERTUBE_ADMIN_EMAIL=frostlabs25@gmail.com
|
- PEERTUBE_ADMIN_EMAIL=frostlabs25@gmail.com
|
||||||
# Secrets - loaded from Docker secrets as files
|
# Secrets - loaded from Docker secrets as files
|
||||||
- PEERTUBE_DB_SUFFIX=_prod
|
|
||||||
- PEERTUBE_SECRET=dfd1cad851c1a5b795131fd2033d46ef80c809b5ac30a3ce8e69b049587138a2
|
- PEERTUBE_SECRET=dfd1cad851c1a5b795131fd2033d46ef80c809b5ac30a3ce8e69b049587138a2
|
||||||
# secrets:
|
# secrets:
|
||||||
# - postgres-master
|
# - postgres-master
|
||||||
# - peertube-key
|
# - peertube-key
|
||||||
# - gmail-app-password
|
# - gmail-app-password
|
||||||
ports:
|
# ports:
|
||||||
- target: 9000
|
# - target: 9000
|
||||||
published: 9000
|
# published: 9000
|
||||||
mode: host
|
# mode: host
|
||||||
- target: 1935
|
# - target: 1935
|
||||||
published: 1935
|
# published: 1935
|
||||||
mode: host
|
# mode: host
|
||||||
volumes:
|
volumes:
|
||||||
- /home/doc/projects/swarm-data/appdata/peertube/assets:/app/client/dist
|
# - /home/doc/projects/swarm-data/appdata/peertube/assets:/app/client/dist
|
||||||
- /home/doc/projects/swarm-data/appdata/peertube/data:/data
|
- /home/doc/projects/swarm-data/appdata/peertube/data:/data
|
||||||
- /home/doc/projects/swarm-data/conf/peertube-conf/production.yaml:/var/www/peertube/config/production.yaml:ro
|
# healthcheck:
|
||||||
healthcheck:
|
# test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:9000/api/v1/config" ]
|
||||||
test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:9000/api/v1/config" ]
|
# interval: 30s
|
||||||
interval: 30s
|
# timeout: 10s
|
||||||
timeout: 10s
|
# retries: 3
|
||||||
retries: 3
|
# start_period: 60s
|
||||||
start_period: 60s
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -60,7 +65,7 @@ services:
|
|||||||
- traefik.http.routers.peertube.tls.certresolver=cloudflare
|
- traefik.http.routers.peertube.tls.certresolver=cloudflare
|
||||||
- traefik.http.services.peertube.loadbalancer.server.port=9000
|
- traefik.http.services.peertube.loadbalancer.server.port=9000
|
||||||
|
|
||||||
peertube-redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
networks:
|
networks:
|
||||||
- homelab
|
- homelab
|
||||||
@@ -75,7 +80,7 @@ services:
|
|||||||
mode: replicated
|
mode: replicated
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|
||||||
peertube-postgres:
|
postgres:
|
||||||
image: postgres:17-alpine
|
image: postgres:17-alpine
|
||||||
networks:
|
networks:
|
||||||
- homelab
|
- homelab
|
||||||
|
|||||||
Reference in New Issue
Block a user