drop support of adding links and external_links

Instead we are using multiple Docker Compose files to create containers
in the same Docker network.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-02-16 13:51:13 +01:00
parent 803bb2cc83
commit ce2e583d8f
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 0 additions and 8 deletions

View File

@ -7,8 +7,6 @@ grafana_version: '7.3.4'
grafana_image: 'grafana/grafana:{{ grafana_version }}' grafana_image: 'grafana/grafana:{{ grafana_version }}'
grafana_cont_name: '{{ grafana_service_name }}' grafana_cont_name: '{{ grafana_service_name }}'
grafana_cont_vol: '{{ grafana_service_path }}/data' grafana_cont_vol: '{{ grafana_service_path }}/data'
grafana_cont_links: []
grafana_cont_ext_links: []
grafana_port: 9400 grafana_port: 9400
# see: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later # see: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later
grafana_cont_uid: 472 grafana_cont_uid: 472

View File

@ -10,9 +10,3 @@ services:
volumes: volumes:
- '{{ grafana_cont_vol }}/lib:/var/lib/grafana' - '{{ grafana_cont_vol }}/lib:/var/lib/grafana'
- '{{ grafana_cont_vol }}/etc:/etc/grafana' - '{{ grafana_cont_vol }}/etc:/etc/grafana'
{% if grafana_cont_ext_links|length > 0 %}
external_links: {{ grafana_cont_ext_links | to_yaml }}
{% endif %}
{% if grafana_cont_links|length > 0 %}
links: {{ grafana_cont_links | to_yaml }}
{% endif %}