Vylyne
df55e2f7e5
rwx not rws....
2025-10-01 14:11:42 -04:00
Vylyne
d9e7db2b5c
Added Global Definition of PUID and GUID for ease of management only.
2025-10-01 14:02:54 -04:00
Vylyne
ce1540e781
reverted default IDs to 1000 which is what the node user is created as. Though this default for the container was root. Figured 1000 is a safer default then root and will fit most basic user setups.
2025-10-01 13:38:19 -04:00
Vylyne
6c79d28329
making sure /config and /metadata and are world writable for --user support incase they're not bind mounted.
2025-10-01 13:36:04 -04:00
Vylyne
0eb1905d1f
fixed homepath
2025-10-01 13:30:16 -04:00
Vylyne
71b4f70034
added move home to user mod
2025-10-01 13:29:05 -04:00
Vylyne
3d5eaa6577
changed to reuse node user, renaming and re-iding.
2025-10-01 13:26:31 -04:00
Vylyne
aa3a0d7bff
remove --purge from apt del
2025-10-01 13:12:51 -04:00
Vylyne
d4e807a86c
changed default uid and group id to 5000
2025-10-01 13:11:06 -04:00
Vylyne
8e0ccf59e0
added PUID and GUID Args For buildtime UID and GID specification, Add User and Group with those ids and set User at entrypiont call. there will be permission errors.
2025-10-01 12:35:14 -04:00
Hadrien Patte
ba4061e5a4
Make NUSQLITE3_PATH build arg configurable
2025-06-16 23:03:02 +02:00
advplyr
49997a1336
Fix Dockerfile to include nunicode in the final stage
2025-05-16 15:23:19 -05:00
advplyr
40e7e36ef6
Dockerfile unnecessary stage 1 apks
2025-05-12 15:15:18 -05:00
Jaffar Ashoor
fd0af6b2dd
Reduce final docker image size
...
this adds a third stage to the build, copying the required files only
from the previos stages, this reduces the final image size from 600MB+
down to ~320MB
2025-03-23 02:59:40 +03:00
mikiher
d410b13c9b
Merge prod.js into index.js
2025-01-07 17:41:09 +02:00
mikiher
d92626071e
Use musl-based libnusqlite3 in Docker
2024-10-07 20:48:52 +03:00
mikiher
4a7ada28fb
Switch to nunicode-binaries v1.1
2024-10-01 16:47:40 +03:00
mikiher
501dc938e6
Add Nunicode sqlite extension integration
2024-09-29 09:22:39 +03:00
Paul
20eb573897
Fix unicode.so loading
...
`unicode.so` is dynamically linked against glibc but Alpine only comes with musl. Installing the compatibility layer fixes it.
Fix https://github.com/advplyr/audiobookshelf/issues/3231
Fix https://github.com/advplyr/audiobookshelf/issues/3234
Close https://github.com/advplyr/audiobookshelf/pull/3235
2024-08-05 13:34:56 +02:00
advplyr
e6b1acfb44
Remove tone scripts & references, rename tone-object endpoint, remove node-tone dependency, remove TONE_PATH env
2024-07-06 16:00:48 -05:00
advplyr
7f350279fa
Update to node20
...
- updates many dependencies
- removes @nuxtjs/tailwindcss and postcss8
- pkg targets are using node18 until node20 targets are available
2024-01-19 17:54:41 -06:00
Benjamin Porter
baa65b8155
Add tini as PID 1 handler in container image
...
This PR adds `tini` to the container image and uses it as PID 1 when
starting the container. This ensures that proper PID 1 signal-handling
is implemented and passed to the underlying node.js process, thereby
ensuring that the ABS process has a chance to receive and handle signals
other than `SIGKILL`, such as the important `SIGINT`.
This is somewhat related to #2445 . Without this, the signal handled by
2445 won't be received when running in a container.
Some background:
In linux, PID 1 has special duties involving signal handling that are
different than other processes. Node doesn't properly handle these
signals, which can lead to a number of problems ranging from annoying to
disruptive. PID 1 also has reaping duties that can lead to resource
exhaustion if not properly handled.
For example, the container ignores `SIGINT` (Ctrl+C) as well as `docker stop`,
which can be annoying in development as you have to kill or wait for
the timeout to be reached. In a production environment (such as Kubernetes)
this can lead to signal escalation and unnecessarily adds delays to
deployments and restarts as K8s has to wait for the timeout to be reached
before sending `SIGKILL`.
At best this is annoying and unnecessarily adds
delays. At worst this can lead to file/data corruption as the process
doesn't get a chance to clean anything up when it is sent `SIGKILL`.
Without a proper PID 1 to forward signals, only SIGKILL can be used to
terminate the running process.
2024-01-03 13:55:43 -07:00
advplyr
d1d94c37a7
Update:Remove --max-old-space-size from Dockerfile
2023-07-20 17:00:08 -05:00
advplyr
838a24c8a5
Update:Remove healthcheck from Dockerfile
2023-07-20 16:59:46 -05:00
advplyr
9a5ed64fae
Update database loading library items incrementally to reduce mem usage
2023-07-19 15:36:18 -05:00
advplyr
6814adffcc
Update:Only load feeds when needed
2023-07-17 16:48:46 -05:00
advplyr
20c11e381e
Update docker file heap size
2023-07-17 14:41:21 -05:00
advplyr
b715ef3bfc
Increase heap size to 4gb in Dockerfile
2023-07-17 07:48:23 -05:00
advplyr
f73a0cce72
Update Dockerfile for sqlite3, update models for cascade delete, fix backup schedule
2023-07-09 11:39:15 -05:00
Alex Jackson
c7b4b3bd3e
Update:Bump tone version
...
Addresses #1703 . Paths with quotations were not handled by tone<v0.1.3.
2023-04-19 16:22:15 -05:00
advplyr
b707d6f3c9
Update Dockerfile run command to use node index.js
2023-03-09 11:47:48 -06:00
advplyr
af9a87f8bd
Tone version bump v0.1.2
2022-11-05 07:36:53 -05:00
advplyr
1fa94cbfad
Update tone to v0.1.1
2022-10-07 16:21:47 -05:00
advplyr
c16e6d19ae
Add:Experimental tone library for scanning metadata
2022-09-11 15:35:06 -05:00
advplyr
9d7ffdfcd0
Update docker file healthcheck to use /healthcheck instead of /ping
2022-07-24 15:46:19 -05:00
Brandon Skrtich
4900649908
feat: Updates to docker file and gh action
...
* Clean up Dockerfile
* Add health check to Dockerfile
* Update gh action versions
2022-06-02 05:55:01 +00:00
advplyr
d8df9a9dff
Update dockerfile for generating client
2022-05-25 10:26:21 -05:00
advplyr
f083d4b5f6
Update dockerfile failing with dev dependency
2022-05-20 18:15:54 -05:00
jflattery
0e3640c246
Upgrade Node to v16
...
As Node.JS v12 is EOL in April 2022, project should move to a newer version.
2022-03-24 15:38:02 +00:00
advplyr
9452d0eca9
Fix:Window resize build bookshelf
2021-12-12 19:48:29 -06:00
zvon
994eb2862e
Change: support more architectures in Dockerfile
2021-10-23 13:18:58 +02:00
Mark Cooper
d6cab8e591
logLevel as server setting, logger config page, re-scan audiobook option, fix embedded cover extraction, flac and mobi support, fix series bookshelf not wrapping
2021-09-30 18:52:32 -05:00
Mark Cooper
eab8edce8d
Use local image as cover if found, adding release-it version control
2021-08-21 13:02:24 -05:00
Mark Cooper
a0c60a93ba
Init
2021-08-17 17:01:11 -05:00