fix(docker-compose): add redis env var to api service (#528)

- Add RedisAddr env variable to api service to match bot service
This commit is contained in:
foundationkitty 2023-03-06 11:12:23 -08:00 committed by GitHub
parent 1da94706cb
commit 0881996ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,6 +24,7 @@ services:
command: ["bin/PluralKit.API.dll"] command: ["bin/PluralKit.API.dll"]
environment: environment:
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000" - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres;Maximum Pool Size=1000"
- "PluralKit:RedisAddr=redis"
ports: ports:
- "127.0.0.1:2838:5000" - "127.0.0.1:2838:5000"
restart: unless-stopped restart: unless-stopped