Compare commits

...

2 Commits

3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
redis redis
sus
.env .env

View File

@ -7,5 +7,6 @@ services:
environment: environment:
- SECRET=${SECRET} - SECRET=${SECRET}
redis: redis:
hostname: sus-redis
image: redis:7 image: redis:7
volumes: [ "./redis:/data" ] volumes: [ "./redis:/data" ]

View File

@ -31,7 +31,7 @@ import (
) )
var client = redis.NewClient(&redis.Options{ var client = redis.NewClient(&redis.Options{
Addr: "redis:6379", Addr: "sus-redis:6379",
Password: "", Password: "",
DB: 0, DB: 0,
}) })