This commit is contained in:
@@ -6,9 +6,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
# Database configuration - connecting to existing Postgres
|
# Database configuration - connecting to existing Postgres
|
||||||
- POSTGRES_USER=admin
|
- POSTGRES_USER=admin
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres-master
|
- POSTGRES_PASSWORD=AllOfTheStars+1
|
||||||
- POSTGRES_DB=peertube
|
- POSTGRES_DB=peertube
|
||||||
- POSTGRES_HOST=10.0.4.10
|
- POSTGRES_HOST=10.0.4.10
|
||||||
|
- POSTGRES_PORT=5432
|
||||||
# Redis configuration
|
# Redis configuration
|
||||||
- REDIS_HOSTNAME=peertube-redis
|
- REDIS_HOSTNAME=peertube-redis
|
||||||
# PeerTube configuration
|
# PeerTube configuration
|
||||||
@@ -20,17 +21,17 @@ services:
|
|||||||
- PEERTUBE_SMTP_HOSTNAME=smtp.gmail.com
|
- PEERTUBE_SMTP_HOSTNAME=smtp.gmail.com
|
||||||
- PEERTUBE_SMTP_PORT=587
|
- PEERTUBE_SMTP_PORT=587
|
||||||
- PEERTUBE_SMTP_USERNAME=frostlabs25@gmail.com
|
- PEERTUBE_SMTP_USERNAME=frostlabs25@gmail.com
|
||||||
- PEERTUBE_SMTP_PASSWORD_FILE=/run/secrets/gmail-app-password
|
- 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_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_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
|
||||||
@@ -63,7 +64,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- homelab
|
- homelab
|
||||||
volumes:
|
volumes:
|
||||||
- peertube-redis-data:/data
|
- /home/doc/projects/swarm-data/appdata/peertube/redis:/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "redis-cli", "ping" ]
|
test: [ "CMD", "redis-cli", "ping" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -77,14 +78,10 @@ networks:
|
|||||||
homelab:
|
homelab:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
# secrets:
|
||||||
peertube-redis-data:
|
# postgres-master:
|
||||||
|
# external: true
|
||||||
|
# peertube-key:
|
||||||
secrets:
|
# external: true
|
||||||
postgres-master:
|
# gmail-app-password:
|
||||||
external: true
|
# external: true
|
||||||
peertube-key:
|
|
||||||
external: true
|
|
||||||
gmail-app-password:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user