Skip to content

applicreation/harmony-module-example-php

Repository files navigation

harmony-module-example-php

Details

This is an example module written in PHP to be used with Harmony.

Prerequisites

The only tool required is Docker Desktop.

Usage

# docker-compose.yaml
---

services:
  proxy:
    image: ghcr.io/applicreation/harmony-proxy:v0
    ports:
      - 80:80
  core:
    image: ghcr.io/applicreation/harmony-core:v0
    volumes:
      - ./.harmony/core:/root/.harmony:ro
  example-php:
    image: ghcr.io/applicreation/harmony-module-example-php:v0
# ./.harmony/core/config.yaml
---

modules:
  - id: example-php

Development

docker compose up