Skip to content
/ reciper Public

Project with the sole purpose to learn with cooking theme

License

Notifications You must be signed in to change notification settings

encero/reciper

Repository files navigation

Reciper

GQL

ID all ids are UUID v4

Local setup

Docker compose

# build and run the stack
docker compose --file docker/docker-compose.yml up --build

Kind + helm + ingress-nginx

# create kind cluster with ingress nginx
./hack/cluster-create.sh

# optionaly: install cert-manger with self signed issuer
./hack/cluster-cert-manager.sh

# install helm chart
# tagged version are listed here https://github.com/encero?tab=packages&repo_name=reciper
helm install reciper --set version=[version] helm/reciper

# or with values file
# copy example and edit the helm/local-values.yaml values file
cp helm/local-values-example.yaml helm/local-values.yaml

# install the chart
helm install reciper --values helm/local-values.yaml helm/reciper

Litestream setup

The litestream setup expect specific k8s secret to be present to pull the AWS credentials from.

# create k8s secret for litestream containers
kubectl --namespace reciper create secret generic litestream \
    --from-literal=LITESTREAM_ACCESS_KEY_ID="" \
    --from-literal=LITESTREAM_SECRET_ACCESS_KEY=""

Attribution

ios app icon courtesy of by justicon - Flaticon

ios recipe placehoder photo by Lindsay Moe on Unsplash