forked from public/stack
infra/main: add databases for matrix migration
This commit is contained in:
parent
1b6e5156f4
commit
e82185c247
|
@ -63,6 +63,21 @@ module "digitalocean_database_cluster" {
|
|||
}, {
|
||||
name = "forgejo",
|
||||
create_default_superuser = true,
|
||||
}, {
|
||||
# We're creating this database, but then need to delete and recreate manually with LOCALE=C. Otherwise synapse won't work
|
||||
# CREATE DATABASE synapse WITH template=template0 owner=doadmin locale="C" encoding=UTF8;
|
||||
# GRANT ALL ON DATABASE synapse TO synapse;
|
||||
name = "synapse",
|
||||
create_default_superuser = true,
|
||||
}, {
|
||||
name = "telegram",
|
||||
create_default_superuser = true,
|
||||
}, {
|
||||
name = "slack",
|
||||
create_default_superuser = true,
|
||||
}, {
|
||||
name = "media_repo",
|
||||
create_default_superuser = true,
|
||||
}]
|
||||
|
||||
vpc_id = digitalocean_vpc.main.id
|
||||
|
|
Loading…
Reference in New Issue