forked from betamike/betamike-infra
increased matrix data disk size
This commit is contained in:
parent
281738b227
commit
cf91e88f58
@ -52,7 +52,7 @@ in {
|
|||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "${storage-dir}/db";
|
dataDir = "${storage-dir}/db-new";
|
||||||
|
|
||||||
initialScript = pkgs.writeText "synapse-init.sql" ''
|
initialScript = pkgs.writeText "synapse-init.sql" ''
|
||||||
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD '${secrets.matrix.psql_password}';
|
CREATE ROLE "matrix-synapse" WITH LOGIN PASSWORD '${secrets.matrix.psql_password}';
|
||||||
|
@ -15,7 +15,7 @@ resource "digitalocean_droplet" "matrix-0" {
|
|||||||
resource "digitalocean_volume" "matrix" {
|
resource "digitalocean_volume" "matrix" {
|
||||||
region = "nyc3"
|
region = "nyc3"
|
||||||
name = "matrix-storage"
|
name = "matrix-storage"
|
||||||
size = 10
|
size = 20
|
||||||
initial_filesystem_type = "ext4"
|
initial_filesystem_type = "ext4"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user