Commit 0ae05d527ea8ca0ac85b63d4641ce94705b35a31
butt
Michael Williams committed on 12/25/2017, 10:17:19 AMParent: 8192b526b3113379f8313148ee2bd69543f4d7bd
Files changed
salt/state/hub.sls | changed |
salt/state/hub.sls | |||
---|---|---|---|
@@ -6,8 +6,12 @@ | |||
6 | 6 … | ||
7 | 7 … | healer: | |
8 | 8 … | docker_container.running: | |
9 | 9 … | - image: ahdinosaur/healer | |
10 … | + - name: healer | ||
11 … | + - binds: | ||
12 … | + - /var/run/docker.sock:/tmp/docker.sock | ||
13 … | + - restart_policy: unless-stopped | ||
10 | 14 … | - require: | |
11 | 15 … | - docker_image: ahdinosaur/healer | |
12 | 16 … | ||
13 | 17 … | {% set seeds = salt['grains.get']('hub.seeds', []) %} | |
@@ -36,12 +40,12 @@ | |||
36 | 40 … | {{ name }}/secret: | |
37 | 41 … | file.managed: | |
38 | 42 … | - name: /root/bots/{{ name }}/secret | |
39 | 43 … | - dataset: | |
40 | - curve: {{ curve }} | ||
44 … | + curve: {{ curve }}" | ||
41 | 45 … | public: {{ public }}.{{ curve }} | |
42 | 46 … | private: {{ private }}.{{ curve }} | |
43 | - id: @{{ public }}.{{ curve }} | ||
47 … | + id: "@{{ public }}.{{ curve }}" | ||
44 | 48 … | - mode: 0400 | |
45 | 49 … | - user: debian | |
46 | 50 … | - group: debian | |
47 | 51 … | - formatter: json | |
@@ -68,8 +72,9 @@ | |||
68 | 72 … | ||
69 | 73 … | {{ name }}: | |
70 | 74 … | docker_container.running: | |
71 | 75 … | - image: ahdinosaur/ssb-pub | |
76 … | + - name: {{ name }} | ||
72 | 77 … | - env: | |
73 | 78 … | - ssb_host: {{ name }} | |
74 | 79 … | - binds: | |
75 | 80 … | - /root/bots/{{ name }}:/home/node/.ssb/ | |
Built with git-ssb-web