-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathentrypoint
More file actions
executable file
·16 lines (13 loc) · 937 Bytes
/
entrypoint
File metadata and controls
executable file
·16 lines (13 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/env bash
# When deploying the dashboard charm the dashboard and nginx configs are generated
# by the charm. These configs can also be set when launching the container using environment variables.
# The following environment variables can be provided. Only DASHBOARD_CONTROLLER_URL is required.
# DASHBOARD_CONTROLLER_URL - equivalent to the charm's controller-url config option.
# DASHBOARD_ROOT - the root directory that the dashboard is located in.
# DASHBOARD_CONFIG_DIR - the location that the config.js.j2 and nginx.conf.j2 are located in.
# DASHBOARD_IDENTITY_PROVIDER_URL - equivalent to the charm's identity-provider-url config option.
# DASHBOARD_IS_JUJU - equivalent to the charm's is-juju config option.
# DASHBOARD_ANALYTICS_ENABLED - equivalent to the charm's analytics-enabled config option.
# DASHBOARD_PORT - equivalent to the charm's port config option.
python3 /srv/config.py
exec nginx -g "daemon off;"