diff options
author | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-31 21:21:45 -0700 |
---|---|---|
committer | Simponic <elizabeth.hunt@simponic.xyz> | 2023-01-31 21:21:45 -0700 |
commit | bd49a76dc3a26570fea6722f7ee94688420dc9b4 (patch) | |
tree | d3295a877a30f0d03a2668411c4686322a5b006f | |
parent | 800d479863af3e0548bb5c77d229aa1b9a2c143f (diff) | |
download | chessh-bd49a76dc3a26570fea6722f7ee94688420dc9b4.tar.gz chessh-bd49a76dc3a26570fea6722f7ee94688420dc9b4.zip |
Set cookie, remove unnecessary expose's
-rw-r--r-- | Dockerfile | 7 | ||||
-rwxr-xr-x | buildscripts/build/build.sh | 2 |
2 files changed, 1 insertions, 8 deletions
@@ -75,11 +75,4 @@ COPY --from=builder --chown=nobody:root /app/priv /app/priv 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 diff --git a/buildscripts/build/build.sh b/buildscripts/build/build.sh index 107de30..482a577 100755 --- a/buildscripts/build/build.sh +++ b/buildscripts/build/build.sh @@ -151,7 +151,7 @@ function build_server() { temp_file=$(mktemp) 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 cp "${build_dir}/chessh.service" $temp_file |