Menu

1 / 5

Goravel deploy: Docker, Caddy and GitHub Actions

DEV Community: go·Krishan·9 days ago
#O0tCZ0jn
#devtogo#devto#dev#app_key#jwt_secret
Reading 0:00
15s threshold

Part 19 of the Goravel series . The original on DevChalk has the colour-matched code, the figures and the full diffs. Code for this part: krishankumar01/goravel-taskflow/tree/part-19 .

So far in this series, we have run everything on our own machine. But a real application has to be deployed somewhere, so that others can reach it from the internet. So we are going to deploy the full setup on a production server. That means the API, the queue worker and the scheduler, with Postgres and Redis behind them and HTTPS in front. It also means a way to ship new versions without losing the jobs in flight.

Start from the Scheduling & Commands code:

git clone https://github.com/krishankumar01/goravel-taskflow cd goravel-taskflow git checkout part-18 cp .env.example .env go run . artisan key:generate go run . artisan jwt:secret docker compose up -d go run .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.