adding mastodon

This commit is contained in:
msnie
2025-01-31 14:36:48 +01:00
parent 6c27b71c89
commit 53a3cf2ca3
+6 -1
View File
@@ -9,7 +9,8 @@ services:
volumes:
- /srv/mastodon/postgres14:/var/lib/postgresql/data
# added from the default, otherwise you'll need to manually create a `mastodon` db and user/role
env_file: db.env
# env_file: db.env
env_file: .env.production
environment:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
- 'POSTGRES_USER=postgres'
@@ -22,6 +23,8 @@ services:
env_file: db.env
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
# environment:
# - 'REDIS_URL=redis://redis:6379'
volumes:
- /srv/mastodon/redis:/data
@@ -61,6 +64,8 @@ services:
# - db.env
env_file: .env.production
command: node ./streaming
environment:
- 'REDIS_URL=redis://redis:6379'
ports:
- 4433:4000
networks: