Commit Graph

38 Commits

Author SHA1 Message Date
LouisLam d3517e76c1 change to npm ci 2021-10-03 15:27:15 +08:00
LouisLam c93f42794f upload prebuilt dist to github release 2021-10-02 01:48:15 +08:00
LouisLam 7b4c70860c split the base images in order to prevent recompile the base part 2021-10-01 17:28:00 +08:00
LouisLam 8d8d5987e7 update to 1.7.3 2021-09-30 14:44:37 +08:00
Juan Calderon-Perez 1e12f25c4b Add support for using init to start service 2021-09-25 12:26:30 -04:00
LouisLam 0afa3a2c21 Merge branch '1.6.X'
# Conflicts:
#	server/database.js
#	server/server.js
2021-09-24 19:12:57 +08:00
LouisLam 1c8b3ce451 no need to build sqlite and add nightly for alpine 2021-09-21 10:47:55 +08:00
Michal Ciania 9eaa4ab846 Docker entrypoint for running the application as non-root user 2021-09-17 22:57:27 +02:00
LouisLam ad2062713c fix pi4 on docker 2021-09-14 19:04:56 +08:00
Adam Stachowicz 7c83bed273 Remove double spaces in Dockerfiles 2021-09-12 19:43:14 +02:00
LouisLam ef1604675b change to node:14-bullseye-slim, and reduce the docker image size 2021-09-11 02:50:29 +08:00
LouisLam 1d05df6ec9 [docker healthcheck] use retries instead, longer start-period causes starting problem in Docker Swarm mode 2021-09-09 11:41:28 +08:00
LouisLam ec8c1cad31 update healthcheck.js for changing ssl cert / hostname / port 2021-09-07 16:06:28 +08:00
LouisLam fb0fa2a843 add sqlite cli to docker 2021-09-07 15:36:29 +08:00
LouisLam f5c6d422d5 switch debian to be the main docker base 2021-09-07 15:31:32 +08:00
LouisLam cd1a3a2fb9 revert back to node-sqlite3, as better-sqlite3 causes a lot of installation problems 2021-09-01 14:33:00 +08:00
LouisLam fa549cb80e fix npm7 broken dependencies 2021-08-31 20:36:17 +08:00
LouisLam 0d65918a6a change bcrypt to bcryptjs, use my own prebuilt better-sqlite3, supports more prebuilt 2021-08-31 19:56:44 +08:00
Dumitru Uzun feb0feda76
Dockerfile: Avoid keeping npm in RAM
By running node directly, we save some RAM. In my case npm consumes 300MB and does nothing, just waits for the node process to exit.
On small VPSes 300MB is a lot!
2021-08-26 12:53:57 +03:00
LouisLam 2f50fc4c00 plan to switch to better-sqlite3, drop node-sqlite3 2021-08-23 17:27:03 +08:00
LouisLam efc9a254f4 update to 1.1.0 2021-08-09 21:03:30 +08:00
LouisLam 12910b23ed cache more layers for docker build 2021-08-09 19:23:18 +08:00
LouisLam 8f2a9fe883 chnage sqlite3 package in dockerfile 2021-08-09 14:47:53 +08:00
LouisLam a28d6eafae remove apprise --version from dockerfile 2021-08-03 20:35:41 +08:00
LouisLam d58be56cb9 remove "pip3 cache purge" that causes error 2021-07-31 12:21:39 +08:00
Aleks Bunin 00cc140acd Simplify apprise instalation 2021-07-30 22:32:59 -04:00
LouisLam 4b86c84c36 fix icon for "Resume" 2021-07-30 01:02:41 +08:00
LouisLam 66037e236c add apprise support 2021-07-18 18:51:58 +08:00
LouisLam 13c9244e3f fix apprise import issue and loose the healthcheck rule 2021-07-18 17:42:00 +08:00
Niyas 7dae5279fb
Docker healthcheck
Copied from https://scoutapm.com/blog/how-to-use-docker-healthcheck
2021-07-17 20:08:01 +05:30
LouisLam f62b70c9a9 add nightly to version number 2021-07-17 02:30:16 +08:00
LouisLam bfb117cb76 minor 2021-07-15 01:01:47 +08:00
LouisLam 2b8e33caed dockerfile: change the base image to node:14-alpine3.12; add apprise cli, prepare for implementing notification 2021-07-15 00:36:44 +08:00
LouisLam 3b52433202 cache the sqlite built when docker build 2021-07-14 12:42:52 +08:00
LouisLam d4fe5908f5 fix merging problem 2021-07-13 23:29:40 +08:00
LouisLam be1ef24cce add a comment 2021-07-13 12:24:33 +08:00
LouisLam 99afdabcac change the docker base image to node:14-alpine3.14, reduce the container size 2021-07-13 11:32:09 +08:00
LouisLam ae07cd9c35 prepare for docker 2021-07-11 14:20:31 +08:00