12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
|
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
|