From 615b2ab05c465c8b229855b5732640d41e6d6393 Mon Sep 17 00:00:00 2001 From: maskarb Date: Thu, 25 Apr 2024 13:11:36 -0400 Subject: [PATCH] scope unleash token to dev env --- .env.example | 2 +- docker-compose.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index a5c2d2bca9..0f2e0c1674 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 6d0242bfc3..5f5de23df9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: