Basic Heroku
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
6ec3fb47d1
commit
a2459b665a
|
@ -92,6 +92,10 @@ Then execute
|
|||
docker-compose build --no-cache --pull
|
||||
```
|
||||
|
||||
Using Heroku free tier:
|
||||
|
||||
[Deploy to Heroku](https://heroku.com/deploy?template=https://github.com/pictuga/morss)
|
||||
|
||||
## Run
|
||||
|
||||
morss will auto-detect what "mode" to use.
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
if [ ! -z "$1" ]; then
|
||||
morss $@
|
||||
else
|
||||
gunicorn --bind 0.0.0.0:8000 -w 4 --preload --access-logfile - morss
|
||||
gunicorn --bind 0.0.0.0:${PORT:-8000} -w 4 --preload --access-logfile - morss
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
setup:
|
||||
config:
|
||||
DEBUG: 1
|
||||
CACHE: diskcache
|
||||
CACHE_SIZE: 1073741824
|
||||
|
||||
build:
|
||||
docker:
|
||||
worker: Dockerfile
|
Loading…
Reference in New Issue