add dependencies of traefik
This commit is contained in:
parent
ad607bcc1a
commit
c6e9bd2ac6
6 changed files with 8 additions and 5 deletions
|
@ -9,11 +9,6 @@
|
|||
- I always resign the zone, even if nothing has changed.
|
||||
I could check whether the zone has changed or new keys were generated but that is kind of difficult.
|
||||
|
||||
### Traefik
|
||||
|
||||
- create network
|
||||
- make docker compose depend on traefik
|
||||
|
||||
### Firewall
|
||||
|
||||
Seems to be a little annoying with all the docker stuff
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- role: common
|
||||
- role: docker
|
||||
- role: traefik
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- role: common
|
||||
- role: docker
|
||||
- role: traefik
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- role: common
|
||||
- role: docker
|
||||
- role: traefik
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- role: common
|
||||
- role: docker
|
||||
- role: traefik
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
content: ""
|
||||
dest: /apps/traefik/acme.json
|
||||
force: no
|
||||
mode: 0600
|
||||
- name: Copy Docker Compose script
|
||||
copy:
|
||||
src: "{{ role_path }}/files/docker-compose.yml"
|
||||
|
@ -19,6 +20,9 @@
|
|||
copy:
|
||||
src: "{{ role_path }}/files/services.toml"
|
||||
dest: /apps/traefik/services.toml
|
||||
- name: Create traefik network
|
||||
docker_network:
|
||||
name: "traefik"
|
||||
- name: Start Docker Compose
|
||||
docker_compose:
|
||||
project_src: /apps/traefik
|
||||
|
|
Reference in a new issue