-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from catalyzt-tech/RPGF-41/fix-cron
[RPGF-41] Fix CRON Job
- Loading branch information
Showing
21 changed files
with
1,148 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
NODE_ENV=dev | ||
GITHUB_KEY= | ||
API_PASSWORD= | ||
PORT=3002 | ||
CORS= | ||
# API_SECRET= | ||
# CLOUD_NAME= | ||
# API_KEY= | ||
# API_KEY= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
serve: | ||
pnpm dev:Serve | ||
|
||
|
||
build: | ||
pnpm run build | ||
node dist/src/index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
docker buildx build --platform linux/aarch64 -t worker:latest --load . | ||
docker buildx build --platform linux/aarch64 -t worker:v-39 --load . | ||
|
||
docker tag worker:latest tgrziminiar/worker:latest | ||
docker tag worker:v-39 tgrziminiar/worker:v-39 | ||
|
||
docker push tgrziminiar/worker:latest | ||
docker push tgrziminiar/worker:v-39 | ||
|
||
docker run -d \ | ||
-p 3001:3001 \ | ||
-p 3002:3002 \ | ||
--env-file .env \ | ||
--name fukthis \ | ||
worker:latest | ||
worker:v-36 | ||
|
||
docker run -d \ | ||
-p 3001:3001 \ | ||
-v /etc/timezone:/etc/timezone:ro \ | ||
--env-file .env \ | ||
--name kuay \ | ||
worker:v-8 |
Oops, something went wrong.