mirror of
https://github.com/gomods/athens
synced 2026-02-03 12:10:32 +00:00
add config options for redis password (#1545)
* add config options for redis password * redis password test and failure test * changed redis name and made a minimal redis.conf add drone volume volume fix remove volumes from drone. repoint redis path Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com> Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
This commit is contained in:
@@ -46,6 +46,8 @@ steps:
|
||||
ATHENS_MONGO_STORAGE_URL: mongodb://mongo:27017
|
||||
ATHENS_MINIO_ENDPOINT: minio:9000
|
||||
REDIS_TEST_ENDPOINT: redis:6379
|
||||
PROTECTED_REDIS_TEST_ENDPOINT: protectedredis:6380
|
||||
ATHENS_PROTECTED_REDIS_PASSWORD: AthensPass1
|
||||
GCS_SERVICE_ACCOUNT:
|
||||
from_secret: GCS_SERVICE_ACCOUNT
|
||||
GCS_PROJECT_ID:
|
||||
@@ -154,6 +156,13 @@ services:
|
||||
image: redis
|
||||
ports:
|
||||
- 6379
|
||||
- name: protectedredis
|
||||
image: redis
|
||||
ports:
|
||||
- 6380
|
||||
commands:
|
||||
- "redis-server ./test/redis.conf"
|
||||
|
||||
- name: athens-proxy
|
||||
image: gomods/athens:canary
|
||||
pull: always
|
||||
|
||||
Reference in New Issue
Block a user