redis in docker
This commit is contained in:
parent
6b99a872ec
commit
7ab11c68c5
|
@ -0,0 +1 @@
|
||||||
|
REDIS_PASS=bfile
|
|
@ -1 +1,2 @@
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
|
.env
|
||||||
|
|
|
@ -16,6 +16,13 @@ services:
|
||||||
- 80:80
|
- 80:80
|
||||||
networks:
|
networks:
|
||||||
bfile:
|
bfile:
|
||||||
|
redis:
|
||||||
|
image: redis:alpine
|
||||||
|
networks:
|
||||||
|
bfile:
|
||||||
|
command: [ 'redis-server', '--requirepass', '$REDIS_PASS' ]
|
||||||
|
ports:
|
||||||
|
- 6379:6379
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
bfile:
|
bfile:
|
Loading…
Reference in New Issue