Service that provides custom logic for:
docker build -f test.Dockerfile -t optscale_api_modifier_test .
docker run --rm optscale_api_modifier_test
docker build -f dev.Dockerfile -t optscale_api_modifier
docker run --rm optscale_api_modifier
# BASE
API_V1_PREFIX="/v1/admin"
PUBLIC_URL="http://localhost:8000"
DEBUG=True
PROJECT_NAME="CloudSpend API Modifier"
VERSION="0.1.0"
DESCRIPTION="Service to provide custom users and org management"
# CLoudSpend API
OPT_SCALE_API_URL="https://your-optscaledomain.com"
# JWT TOKEN
SECRET="my_super_secret_here"
ALGORITHM=HS256
ISSUER="SWO"
AUDIENCE="modifier"
# API Client
DEFAULT_REQUEST_TIMEOUT=10
# Admin Token
ADMIN_TOKEN="your admin token here"
# DATABASE
DB_ASYNC_CONNECTION_STR="postgresql+asyncpg://postgres:mysecurepass@localhost:5433/your_dev_db_here"
DB_ASYNC_TEST_CONNECTION_STR="postgresql+asyncpg://postgres:mysecurepass@localhost:5434/your_test_db_here"