forked from data.coop/ansible
Fix handler and name
This commit is contained in:
parent
98fcc2d634
commit
af6a130695
|
@ -1,7 +1,6 @@
|
|||
# vim: ft=yaml.ansible
|
||||
---
|
||||
- name: "restart nginx"
|
||||
community.docker.docker_container:
|
||||
name: "nginx-proxy"
|
||||
restart: "yes"
|
||||
state: "started"
|
||||
- name: restart nginx
|
||||
command: docker compose restart proxy
|
||||
args:
|
||||
chdir: "{{ services.nginx_proxy.volume_folder }}"
|
||||
|
|
|
@ -24,7 +24,7 @@ services:
|
|||
security_opt:
|
||||
- apparmor:unconfined
|
||||
|
||||
socket_proxy:
|
||||
socket-proxy:
|
||||
image: tecnativa/docker-socket-proxy:latest
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
|
|
Loading…
Reference in a new issue