Changed roles to new docker backup procedure

This commit is contained in:
2023-12-26 03:13:16 +01:00
parent d010ea55ad
commit 8863a00908
35 changed files with 215 additions and 228 deletions

View File

@@ -1,11 +1,11 @@
# Database / Postgres service configuration
POSTGRES_USER=peertube
POSTGRES_USER={{database_username}}
POSTGRES_PASSWORD={{peertube_database_password}}
POSTGRES_DB=peertube
PEERTUBE_DB_USERNAME=peertube
POSTGRES_DB={{database_databasename}}
PEERTUBE_DB_USERNAME={{database_username}}
PEERTUBE_DB_PASSWORD={{peertube_database_password}}
PEERTUBE_DB_SSL=false
PEERTUBE_DB_HOSTNAME=database
PEERTUBE_DB_HOSTNAME={{database_host}}
# PeerTube server configuration
PEERTUBE_WEBSERVER_HOSTNAME={{domain}}

View File

@@ -1 +1,6 @@
docker_compose_instance_directory: "{{path_docker_compose_instances}}peertube/"
database_instance: "peertube"
database_host: "database"
database_databasename: "{{database_instance}}"
database_username: "{{database_instance}}"
database_password: "{{peertube_database_password}}"