Skip to content

Commit

Permalink
Update docker-compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
azagramac authored Dec 18, 2024
1 parent 621a886 commit 265449e
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
---
version: '3.9'
services:
cache:
image: azagramac/redis:latest
container_name: redis
privileged: true
network_mode: "host"
restart: always
ports:
- '6379:6379'
command: sh -c "./redis/init.sh"
environment:
- TZ=Europe/Madrid
ports:
- 6379:6379
volumes:
- cache:/data
- /volume1/docker/redis:/data:rw
deploy:
resources:
limits:
memory: 256M
memory: 512M
reservations:
memory: 64M

volumes:
cache:
driver: local
networks:
redis:

0 comments on commit 265449e

Please sign in to comment.