Skip to content
Snippets Groups Projects
Commit e9b6417b authored by George Sedov's avatar George Sedov
Browse files

fix docker

parent 8792cbce
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ RUN set -eux; \ ...@@ -33,7 +33,7 @@ RUN set -eux; \
RUN curl -fsSL https://raw.githubusercontent.com/mongodb/mongo/master/debian/init.d > /etc/init.d/mongod RUN curl -fsSL https://raw.githubusercontent.com/mongodb/mongo/master/debian/init.d > /etc/init.d/mongod
RUN chmod a+x /etc/init.d/mongod RUN chmod a+x /etc/init.d/mongod
RUN echo "data_dir = \"/tmp/nomad\"\n\ RUN echo "data_dir = \"/opt/nomad/data\"\n\
bind_addr = \"0.0.0.0\"\n\ bind_addr = \"0.0.0.0\"\n\
server {\n\ server {\n\
enabled = true\n\ enabled = true\n\
...@@ -47,12 +47,12 @@ plugin \"raw_exec\" {\n\ ...@@ -47,12 +47,12 @@ plugin \"raw_exec\" {\n\
config {\n\ config {\n\
enabled = true\n\ enabled = true\n\
}\n\ }\n\
}" > /etc/nomad/00-general.hcl }" > /etc/nomad.d/nomad.hcl
RUN echo "enable_script_checks = true\n\ RUN echo "enable_script_checks = true\n\
recursors = [\"8.8.8.8\"]\n\ recursors = [\"8.8.8.8\"]\n\
domain = \"asapo\"\n\ domain = \"asapo\"\n\
data_dir = \"/tmp/consul\"\n\ data_dir = \"/opt/consul\"\n\
enable_syslog = false\n\ enable_syslog = false\n\
enable_debug = false\n\ enable_debug = false\n\
ui = true\n\ ui = true\n\
...@@ -68,7 +68,7 @@ bootstrap_expect=1\n\ ...@@ -68,7 +68,7 @@ bootstrap_expect=1\n\
telemetry = {\n\ telemetry = {\n\
disable_compat_1.9 = false\n\ disable_compat_1.9 = false\n\
prometheus_retention_time = \"24h\"\n\ prometheus_retention_time = \"24h\"\n\
}" > /etc/consul.d/00-log_level.hcl }" > /etc/consul.d/consul.hcl
RUN echo "\n\ RUN echo "\n\
service nomad start\n\ service nomad start\n\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment