forked from data.coop/ansible
Add network.
This commit is contained in:
parent
f734e7608b
commit
f5bc79e636
|
@ -48,3 +48,6 @@ data_coop_website:
|
|||
|
||||
cryptohagen_website:
|
||||
domain: "cryptohagen.dk"
|
||||
|
||||
mailu:
|
||||
subnet: 192.168.203.0/24
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
---
|
||||
|
||||
- name: setup network for mailu
|
||||
docker_network:
|
||||
name: mailu
|
||||
ipam_options:
|
||||
subnet: "{{ mailu.subnet }}"
|
||||
|
||||
- name: create mailu volume folders
|
||||
file:
|
||||
name: "{{ mailu.volume_folder }}/{{ volume }}"
|
||||
|
|
|
@ -26,7 +26,7 @@ SECRET_KEY={{ mailu_secret_key }}
|
|||
# PUBLIC_IPV6= ::1 (default: ::1)
|
||||
|
||||
# Subnet of the docker network. This should not conflict with any networks to which your system is connected. (Internal and external!)
|
||||
SUBNET=192.168.203.0/24
|
||||
SUBNET={{ mailu.subnet }}
|
||||
|
||||
# Main mail domain
|
||||
DOMAIN=data.coop
|
||||
|
|
Loading…
Reference in a new issue