Compare commits
2 Commits
1c6aad0f3a
...
version/0.
| Author | SHA1 | Date | |
|---|---|---|---|
| 152c1bcba0 | |||
| 5cdfd0f2e3 |
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
app:
|
||||
image: chiko/77th_eventcalendarntfy:v0.1.3
|
||||
image: chiko/77th_eventcalendarntfy:v0.1.4
|
||||
build: .
|
||||
volumes:
|
||||
- ./data/db:/opt/app/data/db
|
||||
|
||||
@@ -2,4 +2,3 @@ SHELL=/bin/bash
|
||||
MAILTO=""
|
||||
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
|
||||
* * * * * 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.
|
||||
# List your environment variables here
|
||||
env_vars=(
|
||||
NODE_ENV
|
||||
TZ
|
||||
DB_FILEPATH
|
||||
DB_FILENAME
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"name": "77th_eventcalendarnotification",
|
||||
"module": "./src/app.ts",
|
||||
"type": "module",
|
||||
@@ -16,7 +16,7 @@
|
||||
"typescript-eslint": "^8.46.2"
|
||||
},
|
||||
"scripts": {
|
||||
"prod": "NODE_ENV=production bun run ./src/app.ts",
|
||||
"start": "bun run ./src/app.ts",
|
||||
"dev": "NODE_ENV=development bun ./src/app.ts",
|
||||
"db:init": "bun run ./run/db_init.ts",
|
||||
"db:deleteall": "bun run ./run/db_event_deleteall.ts",
|
||||
|
||||
Reference in New Issue
Block a user