Flesh out docker-compose Cookiecutter template
This commit is contained in:
19
docker-compose/examples/grafana/docker-compose.override.yml
Normal file
19
docker-compose/examples/grafana/docker-compose.override.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
grafana-build:
|
||||
image: "grafana:${GRAFANA_VERSION}"
|
||||
profiles: ["build", "build-grafana"]
|
||||
build:
|
||||
context: "build-context/grafana"
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
EXAMPLE_ARG_FOR_DOCKERFILE: "${EXAMPLE_ARG_FROM_ENV_FILE}"
|
||||
GRAFANA_VERSION: "${GRAFANA_VERSION}"
|
||||
nginx-build:
|
||||
image: "nginx:${NGINX_VERSION}"
|
||||
profiles: ["build", "build-nginx"]
|
||||
build:
|
||||
context: "build-context/nginx"
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
EXAMPLE_ARG_FOR_DOCKERFILE: "${EXAMPLE_ARG_FROM_ENV_FILE}"
|
||||
NGINX_VERSION: "${NGINX_VERSION}"
|
||||
Reference in New Issue
Block a user