File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 https://github.com/selkies-project/selkies.git \
1717 /src && \
1818 cd /src && \
19- git checkout -f 58206d48e0e85d2e993ef5486d65455602d908ea
19+ git checkout -f a9272cf2328178d7054b8ddffeff169b71575be3
2020
2121RUN \
2222 echo "**** build frontend ****" && \
@@ -183,7 +183,7 @@ RUN \
183183 | awk '/tag_name/{print $4;exit}' FS='[""]' ) && \
184184 curl -o \
185185 /tmp/selkies.tar.gz -L \
186- "https://github.com/selkies-project/selkies/archive/58206d48e0e85d2e993ef5486d65455602d908ea .tar.gz" && \
186+ "https://github.com/selkies-project/selkies/archive/a9272cf2328178d7054b8ddffeff169b71575be3 .tar.gz" && \
187187 cd /tmp && \
188188 tar xf selkies.tar.gz && \
189189 cd selkies-* && \
Original file line number Diff line number Diff line change 1616 https://github.com/selkies-project/selkies.git \
1717 /src && \
1818 cd /src && \
19- git checkout -f 58206d48e0e85d2e993ef5486d65455602d908ea
19+ git checkout -f a9272cf2328178d7054b8ddffeff169b71575be3
2020
2121RUN \
2222 echo "**** build frontend ****" && \
@@ -181,7 +181,7 @@ RUN \
181181 | awk '/tag_name/{print $4;exit}' FS='[""]') && \
182182 curl -o \
183183 /tmp/selkies.tar.gz -L \
184- "https://github.com/selkies-project/selkies/archive/58206d48e0e85d2e993ef5486d65455602d908ea .tar.gz" && \
184+ "https://github.com/selkies-project/selkies/archive/a9272cf2328178d7054b8ddffeff169b71575be3 .tar.gz" && \
185185 cd /tmp && \
186186 tar xf selkies.tar.gz && \
187187 cd selkies-* && \
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ All application settings are passed via environment variables:
3030| :----: | --- |
3131| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
3232| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
33+ | CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082. |
3334| CUSTOM_USER | HTTP Basic auth username, abc is default. |
3435| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
3536| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE ` /subfolder/ ` |
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ full_custom_readme: |
3434 | :----: | --- |
3535 | CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default 3000. |
3636 | CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001. |
37+ | CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082. |
3738 | CUSTOM_USER | HTTP Basic auth username, abc is default. |
3839 | PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
3940 | SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ server {
3636 proxy_connect_timeout 3600s;
3737 proxy_buffering off;
3838 client_max_body_size 10M;
39- proxy_pass http://127.0.0.1:8082 ;
39+ proxy_pass http://127.0.0.1:CWS ;
4040 }
4141 location SUBFOLDERfiles {
4242 fancyindex on;
@@ -90,7 +90,7 @@ server {
9090 proxy_connect_timeout 3600s;
9191 proxy_buffering off;
9292 client_max_body_size 10M;
93- proxy_pass http://127.0.0.1:8082 ;
93+ proxy_pass http://127.0.0.1:CWS ;
9494 }
9595 location SUBFOLDERfiles {
9696 fancyindex on;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ NGINX_CONFIG=/etc/nginx/sites-available/default
66# user passed env vars
77CPORT="${CUSTOM_PORT:-3000}"
88CHPORT="${CUSTOM_HTTPS_PORT:-3001}"
9+ CWS="${CUSTOM_WS_PORT:-8082}"
910CUSER="${CUSTOM_USER:-abc}"
1011SFOLDER="${SUBFOLDER:-/}"
1112
2526cp /defaults/default.conf ${NGINX_CONFIG}
2627sed -i "s/3000/$CPORT/g" ${NGINX_CONFIG}
2728sed -i "s/3001/$CHPORT/g" ${NGINX_CONFIG}
29+ sed -i "s/CWS/$CWS/g" ${NGINX_CONFIG}
2830sed -i "s|SUBFOLDER|$SFOLDER|g" ${NGINX_CONFIG}
2931sed -i "s|REPLACE_HOME|$HOME|g" ${NGINX_CONFIG}
3032s6-setuidgid abc mkdir -p $HOME/Desktop
Original file line number Diff line number Diff line change @@ -53,8 +53,6 @@ if [ ! -z ${DEV_MODE+x} ]; then
5353 nodemon -V --ext py --exec \
5454 "python3" -m selkies \
5555 --addr="localhost" \
56- --port="8081" \
57- --enable_basic_auth="false" \
5856 --mode="websockets"
5957fi
6058
6361exec s6-setuidgid abc \
6462 selkies \
6563 --addr="localhost" \
66- --port="8081" \
67- --enable_basic_auth="false" \
6864 --mode="websockets"
You can’t perform that action at this time.
0 commit comments