Skip to content

Commit

Permalink
Merge pull request #33 from oliverbeck-dev/bugfix/network-mode-promet…
Browse files Browse the repository at this point in the history
…heus

fix(prometheus): set network_mode explicit to bridge for prometheus container
  • Loading branch information
janikvonrotz authored Jan 29, 2025
2 parents bb8750f + c8a4d27 commit f9b6f18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/prometheus/tasks/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
- "{{ prometheus_port }}:9090"
networks:
- name: "{{ docker_network_name }}"
#FIXME: explicit setting of network_mode: bridge is just a workaround and shouldn't be necessary
network_mode: bridge
etc_hosts: "{{ prometheus_etc_hosts }}"
log_driver: "{{ docker_log_driver }}"
log_options:
Expand Down

0 comments on commit f9b6f18

Please sign in to comment.