Skip to content

Commit

Permalink
Dozzle: Use var for socket proxy name
Browse files Browse the repository at this point in the history
  • Loading branch information
owine committed Feb 5, 2024
1 parent a260c5d commit 228d86d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/dozzle/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ dozzle_docker_ports: "{{ dozzle_docker_ports_defaults
# Envs
dozzle_docker_envs_default:
DOZZLE_AUTH_PROVIDER: "{{ 'forward-proxy' if (dozzle_traefik_sso_middleware | length > 0) else omit }}"
DOZZLE_REMOTE_HOST: "tcp://dozzle-docker-socket-proxy:2375|{{ dozzle_web_url }}"
DOZZLE_REMOTE_HOST: "tcp://{{ dozzle_name }}-docker-socket-proxy:2375|{{ dozzle_web_url }}"
dozzle_docker_envs_custom: {}
dozzle_docker_envs: "{{ dozzle_docker_envs_default
| combine(dozzle_docker_envs_custom) }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/dozzle/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ansible.builtin.include_role:
name: docker_socket_proxy
vars:
docker_socket_proxy_name: "dozzle-docker-socket-proxy"
docker_socket_proxy_name: "{{ dozzle_name }}-docker-socket-proxy"
docker_socket_proxy_docker_envs_custom: "{{ dozzle_docker_socket_proxy_envs }}"

- name: Remove existing Docker container
Expand Down

0 comments on commit 228d86d

Please sign in to comment.