Compare commits

..

1 Commits

Author SHA1 Message Date
Alexey Skobkin 5b51007c79
tg-rss-bot. Adding test version of RSS Bot stack.
continuous-integration/drone/pr Build is passing Details
2022-08-22 00:40:50 +03:00
2 changed files with 27 additions and 0 deletions

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/_/redis
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