From a23e08ce20887efb4e158a02ffee1f775a0db89f Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 12 Sep 2020 20:17:07 +0200 Subject: Refactor 2 --- app/config/secrets/.gitignore | 10 ++++++++++ app/config/secrets/chat/coturn/static-auth.sample | 0 app/config/secrets/chat/fb2mx/as_token.sample | 0 app/config/secrets/chat/fb2mx/db_url.sample | 1 + app/config/secrets/chat/fb2mx/hs_token.sample | 0 app/config/secrets/chat/synapse/homeserver.tls.crt.sample | 0 app/config/secrets/chat/synapse/homeserver.tls.dh.sample | 0 app/config/secrets/chat/synapse/homeserver.tls.key.sample | 0 app/config/secrets/chat/synapse/ldap_binddn.sample | 0 app/config/secrets/chat/synapse/ldap_bindpw.sample | 0 app/config/secrets/chat/synapse/postgres_db.sample | 0 app/config/secrets/chat/synapse/postgres_pwd.sample | 0 app/config/secrets/chat/synapse/postgres_user.sample | 0 .../secrets/chat/synapse/registration_shared_secret.sample | 0 app/config/secrets/email/sogo/ldap_binddn.sample | 0 app/config/secrets/email/sogo/ldap_bindpw.sample | 0 app/config/secrets/email/sogo/postgre_auth.sample | 0 app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.crt.sample | 0 app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.key.sample | 0 app/config/secrets/jitsi/global_env.sample | 9 +++++++++ app/config/secrets/jitsi/jitsi.deuxfleurs.fr.crt.sample | 0 app/config/secrets/jitsi/jitsi.deuxfleurs.fr.key.sample | 0 app/config/secrets/mariadb/main/ldap_binddn.sample | 0 app/config/secrets/mariadb/main/ldap_bindpwd.sample | 0 app/config/secrets/mariadb/main/mysql_pwd.sample | 0 app/config/secrets/platoo/bddpw.sample | 0 app/config/secrets/postgres/keeper/pg_repl_pwd.sample | 0 app/config/secrets/postgres/keeper/pg_repl_username.sample | 0 app/config/secrets/postgres/keeper/pg_su_pwd.sample | 0 app/config/secrets/web/home_token.sample | 0 app/config/secrets/web/quentin.dufour.io_token.sample | 0 31 files changed, 20 insertions(+) create mode 100644 app/config/secrets/.gitignore create mode 100644 app/config/secrets/chat/coturn/static-auth.sample create mode 100644 app/config/secrets/chat/fb2mx/as_token.sample create mode 100644 app/config/secrets/chat/fb2mx/db_url.sample create mode 100644 app/config/secrets/chat/fb2mx/hs_token.sample create mode 100644 app/config/secrets/chat/synapse/homeserver.tls.crt.sample create mode 100644 app/config/secrets/chat/synapse/homeserver.tls.dh.sample create mode 100644 app/config/secrets/chat/synapse/homeserver.tls.key.sample create mode 100644 app/config/secrets/chat/synapse/ldap_binddn.sample create mode 100644 app/config/secrets/chat/synapse/ldap_bindpw.sample create mode 100644 app/config/secrets/chat/synapse/postgres_db.sample create mode 100644 app/config/secrets/chat/synapse/postgres_pwd.sample create mode 100644 app/config/secrets/chat/synapse/postgres_user.sample create mode 100644 app/config/secrets/chat/synapse/registration_shared_secret.sample create mode 100644 app/config/secrets/email/sogo/ldap_binddn.sample create mode 100644 app/config/secrets/email/sogo/ldap_bindpw.sample create mode 100644 app/config/secrets/email/sogo/postgre_auth.sample create mode 100644 app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.crt.sample create mode 100644 app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.key.sample create mode 100644 app/config/secrets/jitsi/global_env.sample create mode 100644 app/config/secrets/jitsi/jitsi.deuxfleurs.fr.crt.sample create mode 100644 app/config/secrets/jitsi/jitsi.deuxfleurs.fr.key.sample create mode 100644 app/config/secrets/mariadb/main/ldap_binddn.sample create mode 100644 app/config/secrets/mariadb/main/ldap_bindpwd.sample create mode 100644 app/config/secrets/mariadb/main/mysql_pwd.sample create mode 100644 app/config/secrets/platoo/bddpw.sample create mode 100644 app/config/secrets/postgres/keeper/pg_repl_pwd.sample create mode 100644 app/config/secrets/postgres/keeper/pg_repl_username.sample create mode 100644 app/config/secrets/postgres/keeper/pg_su_pwd.sample create mode 100644 app/config/secrets/web/home_token.sample create mode 100644 app/config/secrets/web/quentin.dufour.io_token.sample (limited to 'app/config/secrets') diff --git a/app/config/secrets/.gitignore b/app/config/secrets/.gitignore new file mode 100644 index 0000000..1d7b40b --- /dev/null +++ b/app/config/secrets/.gitignore @@ -0,0 +1,10 @@ +# Blacklist everything cleverly +* +!*/ + +# Whitelist some patterns +!*.sample +!*.gen +!.gitignore + +# Whitelist specific files diff --git a/app/config/secrets/chat/coturn/static-auth.sample b/app/config/secrets/chat/coturn/static-auth.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/fb2mx/as_token.sample b/app/config/secrets/chat/fb2mx/as_token.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/fb2mx/db_url.sample b/app/config/secrets/chat/fb2mx/db_url.sample new file mode 100644 index 0000000..aff4635 --- /dev/null +++ b/app/config/secrets/chat/fb2mx/db_url.sample @@ -0,0 +1 @@ +postgres://username:password@hostname/dbname diff --git a/app/config/secrets/chat/fb2mx/hs_token.sample b/app/config/secrets/chat/fb2mx/hs_token.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/homeserver.tls.crt.sample b/app/config/secrets/chat/synapse/homeserver.tls.crt.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/homeserver.tls.dh.sample b/app/config/secrets/chat/synapse/homeserver.tls.dh.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/homeserver.tls.key.sample b/app/config/secrets/chat/synapse/homeserver.tls.key.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/ldap_binddn.sample b/app/config/secrets/chat/synapse/ldap_binddn.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/ldap_bindpw.sample b/app/config/secrets/chat/synapse/ldap_bindpw.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/postgres_db.sample b/app/config/secrets/chat/synapse/postgres_db.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/postgres_pwd.sample b/app/config/secrets/chat/synapse/postgres_pwd.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/postgres_user.sample b/app/config/secrets/chat/synapse/postgres_user.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/chat/synapse/registration_shared_secret.sample b/app/config/secrets/chat/synapse/registration_shared_secret.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/email/sogo/ldap_binddn.sample b/app/config/secrets/email/sogo/ldap_binddn.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/email/sogo/ldap_bindpw.sample b/app/config/secrets/email/sogo/ldap_bindpw.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/email/sogo/postgre_auth.sample b/app/config/secrets/email/sogo/postgre_auth.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.crt.sample b/app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.crt.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.key.sample b/app/config/secrets/jitsi/auth.jitsi.deuxfleurs.fr.key.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/jitsi/global_env.sample b/app/config/secrets/jitsi/global_env.sample new file mode 100644 index 0000000..658c9c9 --- /dev/null +++ b/app/config/secrets/jitsi/global_env.sample @@ -0,0 +1,9 @@ +JITSI_SECRET_VIDEOBRIDGE=redacted +JITSI_SECRET_JICOFO_COMPONENT=redacted +JITSI_SECRET_JICOFO_USER=redacted +JITSI_PROSODY_BOSH_PORT=5280 +JITSI_PROSODY_BOSH_HOST=127.0.0.1 +JITSI_PROSODY_HOST=127.0.0.1 +JITSI_CERTS_FOLDER=/secrets/certs/ +JITSI_NAT_PUBLIC_IP=redacted +JITSI_NAT_LOCAL_IP={{ env "NOMAD_IP_video1_port" }} diff --git a/app/config/secrets/jitsi/jitsi.deuxfleurs.fr.crt.sample b/app/config/secrets/jitsi/jitsi.deuxfleurs.fr.crt.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/jitsi/jitsi.deuxfleurs.fr.key.sample b/app/config/secrets/jitsi/jitsi.deuxfleurs.fr.key.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/mariadb/main/ldap_binddn.sample b/app/config/secrets/mariadb/main/ldap_binddn.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/mariadb/main/ldap_bindpwd.sample b/app/config/secrets/mariadb/main/ldap_bindpwd.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/mariadb/main/mysql_pwd.sample b/app/config/secrets/mariadb/main/mysql_pwd.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/platoo/bddpw.sample b/app/config/secrets/platoo/bddpw.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/postgres/keeper/pg_repl_pwd.sample b/app/config/secrets/postgres/keeper/pg_repl_pwd.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/postgres/keeper/pg_repl_username.sample b/app/config/secrets/postgres/keeper/pg_repl_username.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/postgres/keeper/pg_su_pwd.sample b/app/config/secrets/postgres/keeper/pg_su_pwd.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/web/home_token.sample b/app/config/secrets/web/home_token.sample new file mode 100644 index 0000000..e69de29 diff --git a/app/config/secrets/web/quentin.dufour.io_token.sample b/app/config/secrets/web/quentin.dufour.io_token.sample new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3