refactored redis implementation

This commit is contained in:
2023-12-26 16:40:19 +01:00
parent dae2a821aa
commit 5b9aa582ab
9 changed files with 36 additions and 62 deletions

View File

@@ -14,17 +14,12 @@ services:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
logging:
driver: journald
redis:
restart: always
image: redis:7-alpine
{% include 'templates/docker-redis-service.yml.j2' %}
networks:
- internal_network
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
volumes:
- redis:/data
logging:
driver: journald
web:
image: tootsuite/mastodon:{{version_mastodon}}
restart: always