Set cookie, remove unnecessary expose's
This commit is contained in:
parent
800d479863
commit
bd49a76dc3
@ -75,11 +75,4 @@ COPY --from=builder --chown=nobody:root /app/priv /app/priv
|
|||||||
|
|
||||||
USER nobody
|
USER nobody
|
||||||
|
|
||||||
# EPMD (elixir cluster)
|
|
||||||
EXPOSE 4369
|
|
||||||
# API
|
|
||||||
EXPOSE 8080
|
|
||||||
# CheSSH!
|
|
||||||
EXPOSE 34355
|
|
||||||
|
|
||||||
CMD /app/bin/chessh eval "Chessh.Release.migrate" && /app/bin/chessh start
|
CMD /app/bin/chessh eval "Chessh.Release.migrate" && /app/bin/chessh start
|
||||||
|
@ -151,7 +151,7 @@ function build_server() {
|
|||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
|
|
||||||
cp "${build_dir}/.env" $temp_file
|
cp "${build_dir}/.env" $temp_file
|
||||||
printf "\nNODE_ID=$node_conn\nRELEASE_NODE=chessh@192.168.100.${node_id}\nRELEASE_DISTRIBUTION=name\n" >> $temp_file
|
printf "\nNODE_ID=$node_conn\nRELEASE_NODE=chessh@192.168.100.${node_id}\nRELEASE_DISTRIBUTION=name\nRELEASE_COOKIE=chessh\n" >> $temp_file
|
||||||
scp $ssh_opts $temp_file $node_conn:~/.env
|
scp $ssh_opts $temp_file $node_conn:~/.env
|
||||||
|
|
||||||
cp "${build_dir}/chessh.service" $temp_file
|
cp "${build_dir}/chessh.service" $temp_file
|
||||||
|
Loading…
Reference in New Issue
Block a user