1
0
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:
NOOB BOTS
2020-10-14 00:07:31 +05:30
committed by GitHub
parent 5ee9d457b2
commit bfdb349a2b
2 changed files with 10 additions and 0 deletions

5
heroku.yml Normal file
View File

@@ -0,0 +1,5 @@
build:
docker:
web: Dockerfile
run:
web: bash /var/www/html/resources/heroku-docker-start.sh

View 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 "$@"