blob: 7e46150d0e2fcf4670b6b61027e69bf23e24032b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
docker run \
-d \
--rm \
--net=host \
-p {% raw %}{{ openbook_customer_web_ui_port }}{% endraw %}:{% raw %}{{ openbook_customer_web_ui_port }}{% endraw %} \
-p 5005:5005 \
-p 5701:5701 \
-p 5702:5702 \
-p 5703:5703 \
-p 5704:5704 \
-p 5705:5705 \
-p 5706:5706 \
-v {{ pillar["customer_web_ui"]["dirs"]["etc_openbook_customer_web_ui"]["name"] }}:{{ pillar["customer_web_ui"]["dirs"]["etc_openbook_customer_web_ui"]["name"] }} \
-v {{ pillar["customer_web_ui"]["dirs"]["var_log_openbook_customer_web_ui"]["name"] }}:{{ pillar["customer_web_ui"]["dirs"]["var_log_openbook_customer_web_ui"]["name"] }} \
-v /etc/ssl/certs:/etc/ssl/certs \
-v /etc/ssl/private:/etc/ssl/private \
--name {{ pillar["customer_web_ui"]["container_name"] }}_{% raw %}{{ openbook_branch }}{% endraw %} \
{{ pillar["registry"]["url"] }}/{{ pillar["customer_web_ui"]["image_name"] }}_{% raw %}{{ openbook_branch }}{% endraw %} \
${@}
exit 0
|