Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running jobs hourly #373

Merged
merged 2 commits into from
Jul 24, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Nächste Next commit
crons: use cronloop service
  • Loading branch information
jsnshrmn committed Jul 24, 2024
commit 30be935823cbdc31ebbdb00c7fe89ba1ece13f82
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,28 @@ services:
reservations:
cpus: "0.25"
memory: "384M"
crons:
image: quay.io/wikipedialibrary/externallinks:${EXTERNALLINKS_TAG}
build:
context: .
target: externallinks
env_file:
- ".env"
depends_on:
- db
command: ["python", "manage.py", "cronloop"]
jsnshrmn marked this conversation as resolved.
Show resolved Hide resolved
volumes:
- type: bind
source: ./
target: /app
- type: bind
source: ${HOST_BACKUP_DIR}
target: /app/backup
deploy:
resources:
reservations:
cpus: "0.25"
memory: "384M"
db:
image: quay.io/wikipedialibrary/mariadb:10-updated
env_file:
Expand Down