diff --git a/.gitignore b/.gitignore index b29102b..39b8bd8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -janitor \ No newline at end of file +janitor +config.json \ No newline at end of file diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..288b7d6 --- /dev/null +++ b/config.example.json @@ -0,0 +1,15 @@ +{ + "FrontendPort": 6712, + "FrontendDomain": "matrix-diskspace-janitor.cyberia.club", + "MatrixServerPublicDomain": "cyberia.club", + "MatrixURL": "http://localhost:8080", + "AdminMatrixRoomId": "", + "MatrixAdminToken": "changeme", + "DatabaseType": "postgres", + + "DatabaseConnectionString": + "host=localhost port=5432 user=synapse_user password=changeme database=synapse sslmode=disable", + + "MediaFolder": "/var/lib/matrix-synapse", + "PostgresFolder": "/var/lib/postgresql" +} \ No newline at end of file