Refactor service deployment + upload Compose files to the server #178

Merged
samsapti merged 24 commits from compose-files into main 2023-12-09 18:38:11 +00:00
2 changed files with 5 additions and 6 deletions
Showing only changes of commit af6a130695 - Show all commits

View file

@ -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 }}"

View file

@ -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"