install redis docker
This commit is contained in:
parent
bc3069d784
commit
1085db0b65
1
dockers/redis/.env
Symbolic link
1
dockers/redis/.env
Symbolic link
@ -0,0 +1 @@
|
||||
../../config/dockers.env
|
18
dockers/redis/docker-compose.yml
Normal file
18
dockers/redis/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
||||
services:
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
container_name: redis
|
||||
restart: always
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
env_file:
|
||||
- ../../secret/env-redis
|
||||
volumes:
|
||||
- redisData:/data
|
||||
networks:
|
||||
# mettre ici tous les réseaux des nc des orgas
|
||||
- redisNet
|
||||
redisdNet:
|
||||
external: true
|
||||
name: redisNet
|
||||
|
1
secret.tmpl/env-redis
Normal file
1
secret.tmpl/env-redis
Normal file
@ -0,0 +1 @@
|
||||
REDIS_PASSWORD=
|
Loading…
Reference in New Issue
Block a user