implement docker remote and local cron job

This commit is contained in:
2024-12-05 15:08:38 -06:00
parent 1f6247d3d3
commit 37cfee3c31
7 changed files with 70 additions and 7 deletions

15
local-compose.yaml Normal file
View File

@@ -0,0 +1,15 @@
services:
cron-nkode:
container_name: cron-nkode
build:
context: .
dockerfile: Dockerfile
args:
CACHE_BUST: "${CACHE_BUST}"
volumes:
- /var/go-nkode/sqlite:/jobs/data/sqlite
environment:
- AWS_ACCESS_KEY_ID=AKIA5VCWLAGKTQVD3RDJ
- AWS_SECRET_ACCESS_KEY=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
- AWS_REGION=us-east-1