docker-stacks/redis/docker-compose.yml
Alexey Skobkin 17e717e157 redis added.
2020-07-05 04:35:59 +03:00

21 lines
409 B
YAML

version: '3.7'
services:
redis:
# https://hub.docker.com/r/portainer/portainer
image: redis:alpine
container_name: redis
ports:
- "127.0.0.1:6379:6379/tcp"
env_file: .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"
#volumes:
# redis_data:
# name: redis_data