Supervisor and Environment Variables

前端 未结 5 1148
醉梦人生
醉梦人生 2020-11-28 04:13

I really don\'t know how to get supervisor to work with environment variables.

Below is a configuration snippet.

[program:htNotificationService]
prio         


        
5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 04:34

    this works for me. note the tabs before each line:

    environment=
        CLOUD_INSTANCE_NAME=media-server-xx-xx-xx-xx,
        CLOUD_APPLICATION=media-server,
        CLOUD_APP_COMPONENT=none,
        CLOUD_ZONE=a,
        CLOUD_REGION=b,
        CLOUD_PRIVATE_IP=none,
        CLOUD_PUBLIC_IP=xx.xx.xx.xx,
        CLOUD_PUBLIC_IPV6=xx.xx.xx.xx.xx.xx,
        CLOUD_PROVIDER=c
    

提交回复
热议问题