feat: use host network
This commit is contained in:
parent
227e3366fa
commit
41994dbb66
3 changed files with 1 additions and 13 deletions
|
|
@ -38,9 +38,7 @@
|
|||
image: "docker.io/semaphoreui/semaphore:v2.16.31"
|
||||
image_name_mismatch: "recreate"
|
||||
restart_policy: "unless-stopped"
|
||||
|
||||
networks:
|
||||
- name: "semaphore"
|
||||
network_mode: "host"
|
||||
|
||||
volumes:
|
||||
- "/mnt/semaphore/data:/var/lib/semaphore"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
|
||||
# create network
|
||||
- name: "create network"
|
||||
ansible.builtin.import_tasks: "network.yaml"
|
||||
|
||||
# install semaphore
|
||||
- name: "install semaphore"
|
||||
ansible.builtin.import_tasks: "install.yaml"
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
|
||||
# create network
|
||||
- name: "docker create semaphore network"
|
||||
community.docker.docker_network:
|
||||
name: "semaphore"
|
||||
Loading…
Add table
Add a link
Reference in a new issue