Skip to content

Latest commit

 

History

History
executable file
·
41 lines (20 loc) · 1.18 KB

build.md

File metadata and controls

executable file
·
41 lines (20 loc) · 1.18 KB

Build Options

Selecting a Specific Micro Framework Version

Use the MICRO_VERSION environment variable to select a specific Micro version.

For instance, use the following command to install Micro ^1:

On Linux:

MICRO_VERSION=^1 make start

Installing Development Versions of Micro

To install a non-stable version of Micro, use the STABILITY environment variable during the build. The value must be a valid Composer stability option) .

For instance, use the following command to use the development branch of Micro:

On Linux:

STABILITY=dev make start

Customizing the Server Name

Use the SERVER_NAME environment variable to define your custom server name(s).

SERVER_NAME="app.localhost, caddy:80" make start

If you use Mercure, keep caddy:80 in the list to allow the PHP container to request the caddy service.

Using custom HTTP ports

Use the environment variables HTTP_PORT, HTTPS_PORT and/or HTTP3_PORT to adjust the ports to your needs, e.g.

HTTP_PORT=8000 HTTPS_PORT=4443 HTTP3_PORT=4443 make start

to access your appplication on https://localhost:4443.