Skip to content

Commit bb81259

Browse files
committed
ingest from main selkies init re-org
1 parent 478698e commit bb81259

3 files changed

Lines changed: 8 additions & 18 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN \
1616
https://github.com/selkies-project/selkies.git \
1717
/src && \
1818
cd /src && \
19-
git checkout -f f56d4a951acbcaf659867561f3f659555dfc0cd7
19+
git checkout -f 3a0ed53e79eec52d76292d4c8934eadaa53fa8ce
2020

2121
RUN \
2222
echo "**** build frontend ****" && \
@@ -176,7 +176,7 @@ RUN \
176176
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
177177
curl -o \
178178
/tmp/selkies.tar.gz -L \
179-
"https://github.com/selkies-project/selkies/archive/f56d4a951acbcaf659867561f3f659555dfc0cd7.tar.gz" && \
179+
"https://github.com/selkies-project/selkies/archive/3a0ed53e79eec52d76292d4c8934eadaa53fa8ce.tar.gz" && \
180180
cd /tmp && \
181181
tar xf selkies.tar.gz && \
182182
cd selkies-* && \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN \
1616
https://github.com/selkies-project/selkies.git \
1717
/src && \
1818
cd /src && \
19-
git checkout -f f56d4a951acbcaf659867561f3f659555dfc0cd7
19+
git checkout -f 3a0ed53e79eec52d76292d4c8934eadaa53fa8ce
2020

2121
RUN \
2222
echo "**** build frontend ****" && \
@@ -174,7 +174,7 @@ RUN \
174174
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
175175
curl -o \
176176
/tmp/selkies.tar.gz -L \
177-
"https://github.com/selkies-project/selkies/archive/f56d4a951acbcaf659867561f3f659555dfc0cd7.tar.gz" && \
177+
"https://github.com/selkies-project/selkies/archive/3a0ed53e79eec52d76292d4c8934eadaa53fa8ce.tar.gz" && \
178178
cd /tmp && \
179179
tar xf selkies.tar.gz && \
180180
cd selkies-* && \

root/etc/s6-overlay/s6-rc.d/svc-selkies/run

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/usr/bin/with-contenv bash
22

3-
# Clear the cache registry
4-
rm -rf "${HOME}/.cache/gstreamer-1.0"
5-
63
# Default sink setup
74
if [ ! -f '/dev/shm/audio.lock' ]; then
85
until [ -f /defaults/pid ]; do
@@ -51,16 +48,11 @@ if [ ! -z ${DEV_MODE+x} ]; then
5148
s6-setuidgid abc npm run serve &
5249
fi
5350
# Run backend
54-
cd $HOME/src/src/selkies_gstreamer
5551
s6-setuidgid abc \
56-
nodemon --exec \
57-
"python3" __main__.py \
58-
--addr="localhost" \
59-
--port="8081" \
60-
--enable_basic_auth="false" \
61-
--enable_metrics_http="true" \
62-
--metrics_http_port="9081" \
63-
--mode="websockets"
52+
nodemon \
53+
--watch selkies \
54+
--ext "py" \
55+
--exec "python3 -m selkies --port=8081 --enable_basic_auth=false --mode=websockets"
6456
fi
6557

6658

@@ -70,6 +62,4 @@ exec s6-setuidgid abc \
7062
--addr="localhost" \
7163
--port="8081" \
7264
--enable_basic_auth="false" \
73-
--enable_metrics_http="true" \
74-
--metrics_http_port="9081" \
7565
--mode="websockets"

0 commit comments

Comments
 (0)