Skip to content

Repository files navigation

OpenDiscovery Website

Public website for the OpenDiscovery project.

Requirements

  • PHP 8.5+
  • Composer 2.x
  • Node.js 22+

Local development

composer install
npm install
cp .env.example .env
php artisan key:generate
npm run dev
php artisan serve

Tests

npm run build
php artisan test
composer audit

Docker (FrankenPHP + Octane)

cp .env.example .env
php artisan key:generate
npm run build
docker compose up --build

The app listens on http://localhost:18084.

Local stack (all services)

Run all four OpenDiscovery services together on host ports 18081–18084. Each repo uses the shared Docker network opendiscovery.

Prerequisite in each repo: cp .env.example .env && php artisan key:generate. Host .env supplies APP_KEY via compose interpolation; app defaults come from config.

Start order (matches the deploy chain). root-provider creates the shared opendiscovery network; the others join it as external:

cd root-provider && docker compose up --build -d
cd ../dk-provider && docker compose up --build -d
cd ../resolver && docker compose up --build -d
cd ../website && docker compose up --build -d

Smoke URLs:

dk-provider CVR lookups need real ERST_CVR_USER / ERST_CVR_PASS in .env.

Environment

Variable Description
OPENDISCOVERY_RESOLVER Base URL for the resolver service

About

Code for the project website at OpenDiscovery.Biz

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages