Compare commits
3 Commits
fix/db-eve
...
version/0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 152c1bcba0 | |||
| 5cdfd0f2e3 | |||
| 1c6aad0f3a |
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: chiko/77th_eventcalendarntfy:v0.1.3
|
image: chiko/77th_eventcalendarntfy:v0.1.4
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/opt/app/data/db
|
- ./data/db:/opt/app/data/db
|
||||||
|
|||||||
@@ -2,4 +2,3 @@ SHELL=/bin/bash
|
|||||||
MAILTO=""
|
MAILTO=""
|
||||||
0 8 * * * root . /etc/cron-env.sh && /opt/app/run-task.sh --today >> /proc/1/fd/1 2>&1
|
0 8 * * * root . /etc/cron-env.sh && /opt/app/run-task.sh --today >> /proc/1/fd/1 2>&1
|
||||||
*/15 * * * * root . /etc/cron-env.sh && /opt/app/run-task.sh >> /proc/1/fd/1 2>&1
|
*/15 * * * * root . /etc/cron-env.sh && /opt/app/run-task.sh >> /proc/1/fd/1 2>&1
|
||||||
* * * * * root echo "cron test ran at $(date)" >> /proc/1/fd/1 2>&1
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ chmod +x /etc/cron-env.sh
|
|||||||
# Write the Env Vars into a file for cron. happens during runtime of the container and not build.
|
# Write the Env Vars into a file for cron. happens during runtime of the container and not build.
|
||||||
# List your environment variables here
|
# List your environment variables here
|
||||||
env_vars=(
|
env_vars=(
|
||||||
|
NODE_ENV
|
||||||
TZ
|
TZ
|
||||||
DB_FILEPATH
|
DB_FILEPATH
|
||||||
DB_FILENAME
|
DB_FILENAME
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "0.1.3",
|
"version": "0.1.4",
|
||||||
"name": "77th_eventcalendarnotification",
|
"name": "77th_eventcalendarnotification",
|
||||||
"module": "./src/app.ts",
|
"module": "./src/app.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"typescript-eslint": "^8.46.2"
|
"typescript-eslint": "^8.46.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prod": "NODE_ENV=production bun run ./src/app.ts",
|
"start": "bun run ./src/app.ts",
|
||||||
"dev": "NODE_ENV=development bun ./src/app.ts",
|
"dev": "NODE_ENV=development bun ./src/app.ts",
|
||||||
"db:init": "bun run ./run/db_init.ts",
|
"db:init": "bun run ./run/db_init.ts",
|
||||||
"db:deleteall": "bun run ./run/db_event_deleteall.ts",
|
"db:deleteall": "bun run ./run/db_event_deleteall.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user