From 67d69938d6f8691c236c0cf7a9eddac80f137363 Mon Sep 17 00:00:00 2001 From: msnie Date: Fri, 31 Jan 2025 11:49:24 +0100 Subject: [PATCH] adding mastodon --- mastodon/db.env | 8 ++++---- mastodon/docker-compose.yml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mastodon/db.env b/mastodon/db.env index dbc5df1..07e0e76 100644 --- a/mastodon/db.env +++ b/mastodon/db.env @@ -2,14 +2,14 @@ # There might be some fancy way to de-dupe this, i just sent it. # ---------- DB_HOST=db -DB_USER=mastodon -DB_NAME=mastodon_production +DB_USER=postgres +DB_NAME=postgres DB_PASS=FsQH5cTo7DzuaJB6kggksZHWj6DgvySBBmnMrvQP DB_PORT=5432 # Needed so that the pgsql container creates the expected roles and dbs for you -POSTGRES_DB=mastodon_production -POSTGRES_USER=mastodon +POSTGRES_DB=postgres +POSTGRES_USER=postgres POSTGRES_PASSWORD=FsQH5cTo7DzuaJB6kggksZHWj6DgvySBBmnMrvQP REDIS_URL=redis://redis:6379 \ No newline at end of file diff --git a/mastodon/docker-compose.yml b/mastodon/docker-compose.yml index aa27ec2..2ec66b1 100644 --- a/mastodon/docker-compose.yml +++ b/mastodon/docker-compose.yml @@ -12,6 +12,7 @@ services: env_file: db.env environment: - 'POSTGRES_HOST_AUTH_METHOD=trust' + - 'POSTGRES_USER=postgres' redis: restart: always