mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
refactored redis implementation
This commit is contained in:
@@ -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
|
||||
|
@@ -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:
|
Reference in New Issue
Block a user