Refactor service deployment + upload Compose files to the server #178
|
@ -1,7 +1,6 @@
|
||||||
# vim: ft=yaml.ansible
|
# vim: ft=yaml.ansible
|
||||||
---
|
---
|
||||||
- name: "restart nginx"
|
- name: restart nginx
|
||||||
community.docker.docker_container:
|
command: docker compose restart proxy
|
||||||
name: "nginx-proxy"
|
args:
|
||||||
restart: "yes"
|
chdir: "{{ services.nginx_proxy.volume_folder }}"
|
||||||
state: "started"
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ services:
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor:unconfined
|
- apparmor:unconfined
|
||||||
|
|
||||||
socket_proxy:
|
socket-proxy:
|
||||||
image: tecnativa/docker-socket-proxy:latest
|
image: tecnativa/docker-socket-proxy:latest
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
|
|
Loading…
Reference in a new issue