redis in docker

This commit is contained in:
blek 2023-09-30 23:49:00 +10:00
parent 6b99a872ec
commit 7ab11c68c5
Signed by: blek
GPG Key ID: 14546221E3595D0C
3 changed files with 9 additions and 0 deletions

1
.env.example Normal file
View File

@ -0,0 +1 @@
REDIS_PASS=bfile

1
.gitignore vendored
View File

@ -1 +1,2 @@
docker-compose.yml
.env

View File

@ -16,6 +16,13 @@ services:
- 80:80
networks:
bfile:
redis:
image: redis:alpine
networks:
bfile:
command: [ 'redis-server', '--requirepass', '$REDIS_PASS' ]
ports:
- 6379:6379
networks:
bfile: