You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .config/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,14 +151,15 @@ version: '3.7'
151
151
152
152
services:
153
153
grafana:
154
-
container_name: 'myorg-basic-app'
154
+
extends:
155
+
file: .config/docker-compose-base.yaml
156
+
service: grafana
155
157
build:
156
-
context: ./.config
157
158
args:
158
159
grafana_version: ${GRAFANA_VERSION:-9.1.2}
159
160
grafana_image: ${GRAFANA_IMAGE:-grafana}
160
161
```
161
162
162
-
In this example, we assign the environment variable `GRAFANA_IMAGE` to the build arg `grafana_image` with a default value of `grafana`. This will allow you to set the value while running the docker-compose commands, which might be convenient in some scenarios.
163
+
In this example, we assign the environment variable `GRAFANA_IMAGE` to the build arg `grafana_image` with a default value of `grafana`. This will allow you to set the value while running the dockercompose commands, which might be convenient in some scenarios.
0 commit comments