#48 - heroku deployment (#70)

* test

* #48 - deployment

* #48 - fixes

* #48 - prod assets

* #48 - readme for heroku deployment

* #48 - fix

* #48 - ecs fix

* #48 - fix

* #48 - fix

* #48 - cr fix

* #48 - remove predis dependency
This commit is contained in:
Adrian Hopek
2022-03-15 14:46:42 +01:00
committed by GitHub
parent db4be79c91
commit 6d62c8b776
18 changed files with 87 additions and 36 deletions

View File

@@ -0,0 +1,10 @@
if ($http_x_forwarded_proto != 'https') {
rewrite ^ https://$host$request_uri? permanent;
}
location / {
try_files $uri @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php$1 last;
}

View File

@@ -0,0 +1,45 @@
# Heroku deployment
## Addons
* Heroku Postgres
* Heroku Redis
## Dynos
* web (app)
* worker (queue worker)
## Buildpacks
* heroku/php
* heroku/nodejs
* https://github.com/buyersight/heroku-google-application-credentials-buildpack.git
## Config vars
* APP_DEBUG=false
* APP_ENV=production
* APP_KEY=
* APP_NAME="Toby HR application"
* APP_URL=
* ASSET_URL=
* BROADCAST_DRIVER=log
* CACHE_DRIVER=redis
* DATABASE_URL=
* DB_CONNECTION=pgsql
* DB_DATABASE=
* DB_HOST=
* DB_PORT=
* DB_USER=
* FILESYSTEM_DISK=local
* GOOGLE_CALENDAR_ID=
* GOOGLE_CLIENT_ID=
* GOOGLE_CLIENT_SECRET=
* GOOGLE_CREDENTIALS=
* GOOGLE_REDIRECT=
* LOG_CHANNEL=errorlog
* LOG_LEVEL=info
* MAIL_MAILER=log
* QUEUE_CONNECTION=redis
* REDIS_URL=
* SESSION_DRIVER=redis
* SESSION_LIFETIME=120