Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.07 KB

File metadata and controls

55 lines (36 loc) · 1.07 KB

Docker Octane

Deploy Octane Image

Latest PHP Alpine Docker image to run Laravel Octane with Swoole or FrankenPHP.

Setup

Install Go-Task

brew install go-task

Config

Copy .env.example to .env and set your env vars:

DOCKER_IMAGE_TAG=codebarista/octane:latest
DOCKER_PLATFORM=linux/amd64,linux/arm64
DOCKER_LOCAL_PLATFORM=linux/arm64
DOCKER_REGISTRY=docker.io

Load

Build and load image to local registry.

task load

Push

Build and push image to remote registry.

task push

Fork

Fork and set GitHub secrets for custom push.

DOCKERHUB_USERNAME
DOCKERHUB_TOKEN

Specials

  • including xdg-utils and Node.js for Laravel Nova component development
  • including build essentials and fonts for Node canvas
  • including those fonts and canvas to support laravel-echarts :)