|
|
@ -33,15 +33,15 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
-auth /config.json
|
|
|
|
-auth /config.json
|
|
|
|
|
|
|
|
|
|
|
|
{% if inventory_hostname != groups['netmaker'][0] %}
|
|
|
|
{% if inventory_hostname != groups['netmaker_server'][0] %}
|
|
|
|
-join-as netmaker
|
|
|
|
-join-as netmaker
|
|
|
|
-join https://{{ netmaker_rqlite.http_host }}.{{ groups['netmaker'][0] }}:{{ netmaker_nginx.advertise_port }}
|
|
|
|
-join https://{{ netmaker_rqlite.http_host }}.{{ groups['netmaker_server'][0] }}:{{ netmaker_nginx.advertise_port }}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
"
|
|
|
|
"
|
|
|
|
# FIXME: /\ \/ Change http -> https
|
|
|
|
# FIXME: /\ \/ Change http -> https
|
|
|
|
|
|
|
|
|
|
|
|
netmaker: # The Primary Server for running Netmaker
|
|
|
|
netmaker: # The Primary Server for running Netmaker
|
|
|
|
image: gravitl/netmaker:v0.16.1
|
|
|
|
image: gravitl/netmaker:v0.17.1
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- rqlite
|
|
|
|
- rqlite
|
|
|
|
cap_add:
|
|
|
|
cap_add:
|
|
|
@ -104,7 +104,7 @@ services:
|
|
|
|
- "51821-51830:51821-51830/udp" # wireguard ports
|
|
|
|
- "51821-51830:51821-51830/udp" # wireguard ports
|
|
|
|
|
|
|
|
|
|
|
|
netmaker-ui: # The Netmaker UI Component
|
|
|
|
netmaker-ui: # The Netmaker UI Component
|
|
|
|
image: gravitl/netmaker-ui:v0.16.1
|
|
|
|
image: gravitl/netmaker-ui:v0.17.1
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- netmaker
|
|
|
|
- netmaker
|
|
|
|
links:
|
|
|
|
links:
|
|
|
@ -120,7 +120,6 @@ services:
|
|
|
|
- ./mosquitto/config:/mosquitto/config
|
|
|
|
- ./mosquitto/config:/mosquitto/config
|
|
|
|
- ./mosquitto/data:/mosquitto/data
|
|
|
|
- ./mosquitto/data:/mosquitto/data
|
|
|
|
- ./mosquitto/logs:/mosquitto/log
|
|
|
|
- ./mosquitto/logs:/mosquitto/log
|
|
|
|
- "./certs:/certs:ro"
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- netmaker
|
|
|
|
- netmaker
|
|
|
|
command: ["/mosquitto/config/wait.sh"]
|
|
|
|
command: ["/mosquitto/config/wait.sh"]
|
|
|
|