redis added.

This commit is contained in:
Alexey Skobkin 2020-07-05 04:35:59 +03:00
parent ce51cf50e3
commit 17e717e157
3 changed files with 28 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Not every stack is tested to fully work.
- [x] Proxy MTProto
- [x] Proxy Socks5
- [ ] Radarr (prototype state, see sonarr)
- [x] Redis
- [ ] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch)
- [x] Speedtest (LibreSpeed)
- [ ] Wordpress (prototype state)

7
redis/.env.dist Normal file
View File

@ -0,0 +1,7 @@
# https://hub.docker.com/_/redis
# Uncomment to use directory binding instead of docker volume (almost always not needed)
#DATA_PATH=/some/path
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

20
redis/docker-compose.yml Normal file
View File

@ -0,0 +1,20 @@
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