adding mastodon
This commit is contained in:
@@ -9,7 +9,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- /srv/mastodon/postgres14:/var/lib/postgresql/data
|
- /srv/mastodon/postgres14:/var/lib/postgresql/data
|
||||||
# added from the default, otherwise you'll need to manually create a `mastodon` db and user/role
|
# 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:
|
environment:
|
||||||
- 'POSTGRES_HOST_AUTH_METHOD=trust'
|
- 'POSTGRES_HOST_AUTH_METHOD=trust'
|
||||||
- 'POSTGRES_USER=postgres'
|
- 'POSTGRES_USER=postgres'
|
||||||
@@ -22,6 +23,8 @@ services:
|
|||||||
env_file: db.env
|
env_file: db.env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'redis-cli', 'ping']
|
test: ['CMD', 'redis-cli', 'ping']
|
||||||
|
# environment:
|
||||||
|
# - 'REDIS_URL=redis://redis:6379'
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/mastodon/redis:/data
|
- /srv/mastodon/redis:/data
|
||||||
|
|
||||||
@@ -61,6 +64,8 @@ services:
|
|||||||
# - db.env
|
# - db.env
|
||||||
env_file: .env.production
|
env_file: .env.production
|
||||||
command: node ./streaming
|
command: node ./streaming
|
||||||
|
environment:
|
||||||
|
- 'REDIS_URL=redis://redis:6379'
|
||||||
ports:
|
ports:
|
||||||
- 4433:4000
|
- 4433:4000
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user