mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-11 18:45:34 +00:00
Add Heroku Deployment Support (#159)
* add heroku.yml * Use environment supplied port * Update changedetection.py
This commit is contained in:
@@ -14,7 +14,7 @@ from backend import store
|
|||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
ssl_mode = False
|
ssl_mode = False
|
||||||
port = 5000
|
port = os.environ.get('PORT') or 5000
|
||||||
do_cleanup = False
|
do_cleanup = False
|
||||||
|
|
||||||
# Must be absolute so that send_from_directory doesnt try to make it relative to backend/
|
# Must be absolute so that send_from_directory doesnt try to make it relative to backend/
|
||||||
|
|||||||
5
heroku.yml
Normal file
5
heroku.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
build:
|
||||||
|
docker:
|
||||||
|
changedetection: Dockerfile
|
||||||
|
run:
|
||||||
|
changedetection: python ./changedetection.py -d /datastore
|
||||||
Reference in New Issue
Block a user