diff options
author | 2021-02-05 19:18:05 +0100 | |
---|---|---|
committer | 2021-02-07 10:20:38 +0100 | |
commit | 8337e2632686cf8d0dcf39474019370f7d3dc752 (patch) | |
tree | 7adac5b63d03aff8d81ab1250fa54d3007e51b41 /docker/root/etc/services.d/ferdi-server/run | |
parent | Merge pull request #47 from cromefire/db-path (diff) | |
download | ferdium-server-8337e2632686cf8d0dcf39474019370f7d3dc752.tar.gz ferdium-server-8337e2632686cf8d0dcf39474019370f7d3dc752.tar.zst ferdium-server-8337e2632686cf8d0dcf39474019370f7d3dc752.zip |
Moved getferdi/server-docker into getferdi/server repository.
Add sample docker-compose file and update README.md files in root and docker directories.
Diffstat (limited to 'docker/root/etc/services.d/ferdi-server/run')
-rwxr-xr-x | docker/root/etc/services.d/ferdi-server/run | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/root/etc/services.d/ferdi-server/run b/docker/root/etc/services.d/ferdi-server/run new file mode 100755 index 0000000..cf1568c --- /dev/null +++ b/docker/root/etc/services.d/ferdi-server/run | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/usr/bin/with-contenv bash | ||
2 | |||
3 | cd /app | ||
4 | |||
5 | setcap 'cap_net_bind_service=+ep' `which node` | ||
6 | |||
7 | # start server | ||
8 | echo " " | ||
9 | echo "**** Starting Ferdi-server ****" | ||
10 | exec s6-setuidgid abc adonis serve --dev \ No newline at end of file | ||