Thread env and use list syntax
This commit is contained in:
parent
432ed3109e
commit
de028db830
22
compose.yml
22
compose.yml
@ -7,6 +7,11 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- internal
|
- internal
|
||||||
|
environment:
|
||||||
|
- NGINX_WEBSEED_CDN_ENABLE
|
||||||
|
- NGINX_WEBSEED_CDN_URI
|
||||||
|
- NGINX_WEBSEED_PROXY_ENABLE
|
||||||
|
- NGINX_WEBSEED_PROXY_URI
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
@ -36,12 +41,17 @@ services:
|
|||||||
app:
|
app:
|
||||||
image: chocobozzz/peertube:v3.1.0-buster
|
image: chocobozzz/peertube:v3.1.0-buster
|
||||||
environment:
|
environment:
|
||||||
PEERTUBE_WEBSERVER_HOSTNAME: ${DOMAIN}
|
- PEERTUBE_ADMIN_EMAIL
|
||||||
PEERTUBE_DB_HOSTNAME: db
|
- PEERTUBE_DB_HOSTNAME: db
|
||||||
PEERTUBE_DB_USERNAME: peertube
|
- PEERTUBE_DB_PASSWORD_FILE: /run/secrets/db_password
|
||||||
PEERTUBE_DB_PASSWORD_FILE: /run/secrets/db_password
|
- PEERTUBE_DB_USERNAME: peertube
|
||||||
PEERTUBE_REDIS_HOSTNAME: cache
|
- PEERTUBE_REDIS_HOSTNAME: cache
|
||||||
PEERTUBE_TRUST_PROXY: '["127.0.0.1", "loopback", "172.16.0.0/12", "10.0.0.0/8"]'
|
- PEERTUBE_SIGNUP_ENABLED
|
||||||
|
- PEERTUBE_TRANSCODING_ENABLED
|
||||||
|
- PEERTUBE_TRUST_PROXY: '["127.0.0.1", "loopback", "172.16.0.0/12", "10.0.0.0/8"]'
|
||||||
|
- PEERTUBE_WEBSERVER_HOSTNAME: "${DOMAIN}"
|
||||||
|
- PEERTUBE_WEBSERVER_HTTPS
|
||||||
|
- PEERTUBE_WEBSERVER_PORT
|
||||||
volumes:
|
volumes:
|
||||||
- app-data:/data
|
- app-data:/data
|
||||||
- app-config:/config
|
- app-config:/config
|
||||||
|
Loading…
Reference in New Issue
Block a user