# Copy to .env only if you need to override the devcontainer defaults. # The devcontainer supplies all of these through compose, so a fresh clone runs # with no .env file at all. APP_ENV=local DEBUG=true LOG_LEVEL=INFO # --- database --------------------------------------------------------------- DATABASE_URL=mysql+asyncmy://v2x:v2xpassword@mysql:3306/v2x?charset=utf8mb4 TEST_DATABASE_URL=mysql+asyncmy://v2x:v2xpassword@mysql:3306/v2x_test?charset=utf8mb4 # --- keycloak --------------------------------------------------------------- # These two URLs differ on purpose in local development; see README, "The two # URL traps". KEYCLOAK_ISSUER is compared against the token's `iss` claim and # must match the URL the *client* used. KEYCLOAK_INTERNAL_URL is how this # process reaches Keycloak on the container network. KEYCLOAK_ISSUER=http://localhost:8080/realms/v2x KEYCLOAK_INTERNAL_URL=http://keycloak:8080 KEYCLOAK_REALM=v2x KEYCLOAK_AUDIENCE=v2x-api KEYCLOAK_SWAGGER_CLIENT_ID=v2x-swagger # --- http ------------------------------------------------------------------- CORS_ORIGINS=["http://localhost:3000","http://localhost:8000"]