-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor docker (compose) setup #629
Conversation
Use the following cli commands to manage your local environment: | ||
|
||
- run `make up` to start all containers again (`build` is only for the initial setup!) | ||
- run `make down` to stop all containers | ||
- run `make reup` to stop and restart all containers | ||
- run `make app_database_migrate` execute the database migrations | ||
- run `make app_jobs_process` process the next job from the queue (see database table `job_queue`) | ||
- `make up` to start the application in production stage using SQLite (using docker volumes) | ||
- `make up_mysql` to start the application in production stage using MySQL (using docker volumes) | ||
- `make up_development` to start the application in development stage using SQLite (mounting local files) | ||
- `make up_development_myqsl` to start the application in development stage using MySQL (mounting local files) | ||
- `make down` to stop all containers | ||
- `make app_database_migrate` execute the database migrations | ||
- `make app_jobs_process` process the next job from the queue (see database table `job_queue`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add that make only works on linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make maybe only works on linux but the commands executed the make targets should work on all systems, so the make targets can still provide a good starting point to see how to run the application. We should definitely add this to the docs 👍
Changes: