Web interface via NextJS server
This TypeScript service is part of the Meal Planner project.
Prerequisites:
Configure the project:
cp .env.example .env
edit .env
Then install the dependencies and run app in development mode:
yarn install
yarn dev
# Configure Docker CLI
eval $(minikube docker-env) # Or "minikube docker-env | Invoke-Expression" on Windows
# Build Docker image
docker build -t app-service .
# Deploy via infrastructure repository
For Docker image builds with Github Actions you must configure the following secrets:
DOCKER_HOST
: domain name for custom registry, leave blank to use Docker HubDOCKER_USERNAME
: username for registry authenticationDOCKER_PASSWORD
: password for registry authenticationDOCKER_REPOSITORY
: the repository/user and image name, for example:meal-planner/app-service