I was able to deploy the Docker + laravel + MySQL app to Heroku!

What you can understand by reading this article

reference

https://qiita.com/okita_kamegoro/items/3278d62dd0174960b7f7 https://team-lab.github.io/skillup/step2/10-heroku.html https://shiney-life.com/web/heroku/

Supplements / Notes

・ If you read it carefully and proceed, you can deploy it. Let's calm down. -Although Laradock is used in the above reference site, it is possible even if it is not Laradock. -MySQL is used locally and PostgreSQL is used on Heroku, but since the local code is not rewritten, there is no problem with PostgreSQL on Heroku.

Simple flow

・ Register with Heroku ・ Create an app (template) on Heroku · Set up the Heroku app as a remote repository -Add APP_KEY to the Heroku app ・ Set up to use PostgreSQL on Heroku ・ Create a screen path setting file for the Heroku app -Push to the remote repository of the Heroku app ・ Execute migration (Reflect tables and settings in Heroku's database) ・ Check the operation of the Heroku app and you're done! !!

Recommended Posts

I was able to deploy the Docker + laravel + MySQL app to Heroku!
Deploy to heroku with Docker (Rails 6, MySQL)
I was addicted to not being able to connect to AWS-S3 from the Docker container
Deploy Rails on Docker to heroku
I was addicted to the roll method
Problems I was addicted to when building the digdag environment with docker
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
I had to lower the PHP version in Docker + Composer + Laravel environment
After all I wanted to preview the contents of mysql with Docker ...
Steps to deploy to Heroku
How to deploy to Heroku from a local docker image
I was addicted to the record of the associated model
I tried to summarize the state transition of docker
I want to dark mode with the SWT app
The CSV file that I was able to download suddenly started to appear on the page.
I want to connect to Heroku MySQL from a client
I was able to convert my GMS app to G + H support within 10 minutes using ToolKit
I can deploy to heroku, but I get an error and can't open it [Cause: MySQL]
I can't find the docker image after updating to docker desktop 2.4.0.0
I tried to make an introduction to PHP + MySQL with Docker
I tried to introduce Bootstrap 4 to the Rails 6 app [for beginners]
What I was addicted to when introducing the JNI library
Deploy Spring Boot applications to Heroku without using the Heroku CLI
How to deploy a simple Java Servlet app on Heroku
I was addicted to looping the Update statement on MyBatis
[Java] Deploy the Spring Boot application to Azure App Service
Deploy the application created by Spring Boot to Heroku (public) ②
Deploy the application created by Spring Boot to Heroku (public) ①
I tried to build the environment little by little using docker
What I was addicted to with the Redmine REST API
I tried to build the environment of WSL2 + Docker + VSCode
I want to narrow down the display of docker ps
The story I was addicted to when setting up STS
Deploy Vapor Project to Heroku
Deploy with EC2 / Docker / Laravel
How to deploy on heroku
I tried the Docker tutorial!
Technical causes and countermeasures for the points I was addicted to with the first Android app & Kotlin
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x
I want to create a chat screen for the Swift chat app!
I tried to summarize what was asked at the site-java edition-
Deploy Rails apps to Azure App Service using Docker & Continuous Deployment
I tried to build the environment of PlantUML Server with Docker
[Rails / Heroku / MySQL] How to reset the DB of Rails application on Heroku
How to deploy an app that references a local jar to heroku
About the matter that I was addicted to how to use hashmap
[Docker] Input initial data to docker-entrypoint-initdb.d without mounting the directory [MySQL]
I examined the concept of the process to understand how Docker works
I was addicted to the API version min23 setting of registerTorchCallback
I tried to build a laravel operating environment while remembering Docker
By checking the operation of Java on linux, I was able to understand compilation and hierarchical understanding.
I was addicted to starting sbt
I tried to explain the method
Deploy Flask's Docker image on Heroku
The story I wanted to unzip
Update MySQL from 5.7 to 8.0 with Docker
Deploy your Rails app on Heroku
Memorandum: What I was addicted to when I hit the accounting freee API
[Rails] I was addicted to the nginx settings when using Action Cable.
A story I was addicted to when testing the API using MockMVC
My.cnf configuration problem that I was addicted to when I was touching MySQL 8.0 like 5.7