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

Incorporate scraper into the backend docker-compose.yml? #22

Open
zenodeapp opened this issue Jan 14, 2025 · 0 comments
Open

Incorporate scraper into the backend docker-compose.yml? #22

zenodeapp opened this issue Jan 14, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation later Stale for now - will be worked on in the next round

Comments

@zenodeapp
Copy link
Owner

zenodeapp commented Jan 14, 2025

I like to separate the scraper from the backend by using a systemctl service. But this could be added to the docker at some point.

My service file:

[Unit]
Description=Scraper
After=network.target

[Service]
Restart=always
User=your_user_name
WorkingDirectory=/home/your_user_name/donor-drop-backend/
EnvironmentFile=/home/your_user_name/donor-drop-backend/.env
ExecStart=/path/to/node /home/your_user_name/donor-drop-backend/scraper.mjs

[Install]
WantedBy=multi-user.target
@zenodeapp zenodeapp added documentation Improvements or additions to documentation later Stale for now - will be worked on in the next round labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation later Stale for now - will be worked on in the next round
Projects
None yet
Development

No branches or pull requests

1 participant