Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scope unleash token to dev env #5068

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ DEVELOPMENT=True

PROMETHEUS_MULTIPROC_DIR='/tmp'
CURRENCY_URL=https://open.er-api.com/v6/latest/USD
UNLEASH_TOKEN='*:*.dbffffc83b1f92eeaf133a7eb878d4c58231acc159b5e1478ce53cfc'
UNLEASH_TOKEN='*:development.dbffffc83b1f92eeaf133a7eb878d4c58231acc159b5e1478ce53cfc'
POLLING_TIMER=60 # Set how often you can trigger downloads per provider
MAX_GROUP_BY_OVERRIDE=3 # Set maximum aloud group bys
TAG_ENABLED_LIMIT=200 # Set the max amount of tags per account
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -559,14 +559,14 @@ services:
container_name: koku-unleash
image: unleashorg/unleash-server:5.6.9
environment:
- INIT_ADMIN_API_TOKENS=${UNLEASH_TOKEN:?}
- INIT_CLIENT_API_TOKENS=${UNLEASH_TOKEN:?}
- CHECK_VERSION=false
- DATABASE_HOST=db
- DATABASE_NAME=unleash
- DATABASE_USERNAME=${DATABASE_USER-postgres}
- DATABASE_PASSWORD=${DATABASE_PASSWORD-postgres}
- DATABASE_SSL=false
- IMPORT_DROP_BEFORE_IMPORT=false
- IMPORT_DROP_BEFORE_IMPORT=true
- IMPORT_FILE=/.unleash/flags.json
- LOG_LEVEL=INFO
ports:
Expand Down
Loading