update mastodon compose, fix helperbot to snapshot only single dfdb instance
This commit is contained in:
parent
32d1e324cc
commit
26cae0116d
2 changed files with 9 additions and 57 deletions
|
|
@ -1,12 +1,13 @@
|
|||
services:
|
||||
web:
|
||||
# we use our own synth-soc fork
|
||||
image: ghcr.io/melontini/mastodon:nightly
|
||||
image: ghcr.io/synth-download/mastodon:nightly
|
||||
restart: always
|
||||
env_file:
|
||||
- .env.secrets
|
||||
- .env
|
||||
command: bundle exec puma -C config/puma.rb
|
||||
#command: rails db:migrate
|
||||
networks:
|
||||
- masto
|
||||
- ip6net
|
||||
|
|
@ -20,10 +21,11 @@ services:
|
|||
condition: service_healthy
|
||||
volumes:
|
||||
- ./public/system:/mastodon/public/system
|
||||
- ./init/disable_ssl.rb:/mastodon/config/initializers/disable_ssl.rb:ro
|
||||
- ./shared:/shared # this is just to allow seeing/copying emoji exports
|
||||
|
||||
streaming:
|
||||
image: ghcr.io/melontini/mastodon-streaming:nightly
|
||||
image: ghcr.io/synth-download/mastodon-streaming:nightly
|
||||
restart: always
|
||||
env_file:
|
||||
- .env.secrets
|
||||
|
|
@ -42,7 +44,7 @@ services:
|
|||
condition: service_healthy
|
||||
|
||||
ingress:
|
||||
image: ghcr.io/melontini/mastodon-ingress:nightly
|
||||
image: ghcr.io/synth-download/mastodon-ingress:nightly
|
||||
restart: always
|
||||
env_file:
|
||||
- .env.secrets
|
||||
|
|
@ -55,7 +57,7 @@ services:
|
|||
condition: service_healthy
|
||||
|
||||
sidekiq:
|
||||
image: ghcr.io/melontini/mastodon:nightly
|
||||
image: ghcr.io/synth-download/mastodon:nightly
|
||||
restart: always
|
||||
env_file:
|
||||
- .env.secrets
|
||||
|
|
@ -90,53 +92,7 @@ services:
|
|||
DFLY_df_snapshot_format: false
|
||||
DFLY_dir: '/data'
|
||||
volumes:
|
||||
- ./dragonfly/generic:/data
|
||||
healthcheck:
|
||||
test: "redis-cli ping"
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
# cache dragonfly instance
|
||||
dragonfly-cache:
|
||||
image: docker.dragonflydb.io/dragonflydb/dragonfly
|
||||
restart: always
|
||||
ulimits:
|
||||
memlock: -1
|
||||
networks:
|
||||
- masto
|
||||
environment:
|
||||
DFLY_port: 6380
|
||||
DFLY_snapshot_cron: '* * * * *'
|
||||
DFLY_version_check: false
|
||||
DFLY_default_lua_flags: allow-undeclared-keys
|
||||
DFLY_dbfilename: 'dump.rdb'
|
||||
DFLY_df_snapshot_format: false
|
||||
DFLY_dir: '/data'
|
||||
volumes:
|
||||
- ./dragonfly/cache:/data
|
||||
healthcheck:
|
||||
test: "redis-cli ping"
|
||||
interval: 5s
|
||||
retries: 20
|
||||
|
||||
# sidekiq dragonfly instance
|
||||
dragonfly-sidekiq:
|
||||
image: docker.dragonflydb.io/dragonflydb/dragonfly
|
||||
restart: always
|
||||
ulimits:
|
||||
memlock: -1
|
||||
networks:
|
||||
- masto
|
||||
environment:
|
||||
DFLY_port: 6381
|
||||
DFLY_snapshot_cron: '* * * * *'
|
||||
DFLY_version_check: false
|
||||
DFLY_default_lua_flags: allow-undeclared-keys
|
||||
DFLY_dbfilename: 'dump.rdb'
|
||||
DFLY_df_snapshot_format: false
|
||||
DFLY_dir: '/data'
|
||||
volumes:
|
||||
- ./dragonfly/sidekiq:/data
|
||||
- ./dragonfly:/data
|
||||
healthcheck:
|
||||
test: "redis-cli ping"
|
||||
interval: 5s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue