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

@@ -93,7 +93,7 @@ docker-compose exec -u "www-data" application php artisan schedule:run
For a hard reset, which will delete all data and stop all services, use the following commands:
```bash
docker-compose down
docker volume rm pixelfed_application_data pixelfed_database pixelfed_redis_data
docker volume rm pixelfed_application_data pixelfed_database pixelfed_redis
```
## Update Procedure

View File

@@ -41,20 +41,10 @@ services:
{% include 'templates/docker-mariadb-service.yml.j2' %}
redis:
image: redis:alpine
restart: always
logging:
driver: journald
volumes:
- redis_data:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30
{% include 'templates/docker-redis-service.yml.j2' %}
volumes:
database:
redis_data:
redis:
application_data:
bootstrap: