adding mastodon
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user