Commit f8f61969cf6e5048127943b1f1fb9940896589f4

Authored by George Vlahavas
1 parent 06f34b8a1e

Read environment variables when starting the api

Showing 1 changed file with 29 additions and 0 deletions

docker-compose-jfrog.yml View file @ f8f6196
... ... @@ -79,6 +79,35 @@
79 79 working_dir: /var/www
80 80 volumes:
81 81 - kea_api_volume:/var/www
  82 + environment:
  83 + - "APP_NAME=${APP_NAME}"
  84 + - "APP_ENV=${APP_ENV}"
  85 + - "APP_DEBUG=${APP_DEBUG}"
  86 + - "APP_URL=${APP_URL}"
  87 + - "LOG_CHANNEL=${LOG_CHANNEL}"
  88 + - "DB_CONNECTION=${DB_CONNECTION}"
  89 + - "DB_HOST=${DB_HOST}"
  90 + - "DB_PORT=${DB_PORT}"
  91 + - "DB_DATABASE=${DB_DATABASE}"
  92 + - "DB_USERNAME=${DB_USERNAME}"
  93 + - "DB_PASSWORD=${DB_PASSWORD}"
  94 + - "BROADCAST_DRIVER=${BROADCAST_DRIVER}"
  95 + - "CACHE_DRIVER=${CACHE_DRIVER}"
  96 + - "QUEUE_CONNECTION=${QUEUE_CONNECTION}"
  97 + - "SESSION_DRIVER=${SESSION_DRIVER}"
  98 + - "SESSION_LIFETIME=${SESSION_LIFETIME}"
  99 + - "ELASTICSEARCH_HOST=${ELASTICSEARCH_HOST}"
  100 + - "ELASTICSEARCH_PORT=${ELASTICSEARCH_PORT}"
  101 + - "ELASTICSEARCH_SCHEME=${ELASTICSEARCH_SCHEME}"
  102 + - "MQTT_HOST=${MQTT_HOST}"
  103 + - "MQTT_PORT=${MQTT_PORT}"
  104 + - "MQTT_DEBUG=${MQTT_DEBUG}"
  105 + - "MQTT_QOS=${MQTT_QOS}"
  106 + - "MQTT_RETAIN=${MQTT_RETAIN}"
  107 + - "MLTD_HOST=${MLTD_HOST}"
  108 + - "MLTD_PORT=${MLTD_PORT}"
  109 + - "OD_HOST=${OD_HOST}"
  110 + - "OD_PORT=${OD_PORT}"
82 111  
83 112 #OD
84 113 od: