ansible-wordpress-host-init/roles/setup-containers/files/redis.j2

12 lines
268 B
Plaintext
Raw Permalink Normal View History

2023-03-27 18:54:28 +00:00
version: '3'
services:
cache:
container_name: redis
image: redis:6.2-alpine
restart: always
ports:
- '127.0.0.1:6379:6379'
command: redis-server --loglevel warning --requirepass {{ redis_pass }}
volumes:
- /opt/docker/redis:/data