mirror of
https://github.com/Rudloff/alltube.git
synced 2021-05-14 21:00:57 +03:00
heroku-docker-fix (#318)
* Fixed heroku docker startup moved to resources folder for clean environment * added heroku.yml for Docker deployment to heroku * Update heroku.yml fixed correct executing path * Update heroku-docker-start.sh * Update heroku.yml Co-authored-by: Pierre Rudloff <contact@rudloff.pro> Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
This commit is contained in:
5
heroku.yml
Normal file
5
heroku.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
build:
|
||||
docker:
|
||||
web: Dockerfile
|
||||
run:
|
||||
web: bash /var/www/html/resources/heroku-docker-start.sh
|
||||
5
resources/heroku-docker-start.sh
Normal file
5
resources/heroku-docker-start.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
a2dismod mpm_event
|
||||
sed -i "s/Listen 80/Listen ${PORT:-80}/g" /etc/apache2/ports.conf
|
||||
apache2-foreground "$@"
|
||||
Reference in New Issue
Block a user