Skip to content

Commit

Permalink
Set APP_ENV on docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Aug 14, 2024
1 parent 0acd36c commit 1c17925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Add docker-compose-quota.yml to enable quota
COMPOSE_FILE=docker-compose.yml

# development (default) or production
APP_ENV=
LOG_LEVEL=info
REDIS_RESULT_TTL_DAYS=1
ROUTER_API_KEY=demo
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ x-default-service: &default-service
build: .
image: optimizer-api:${CARTOROUTE_VERSION:-latest}
environment: &default-environment
APP_ENV: ${APP_ENV:-development}
LOG_LEVEL: ${LOG_LEVEL:-info}
OPTIM_DEFAULT_MAX_LATENESS_RATIO: 1
OPTIM_GENERATE_GEOJSON_POLYLINES: 'true'
Expand Down

0 comments on commit 1c17925

Please sign in to comment.