How to install KitchenOwl with Docker and Docker-compose

How to install KitchenOwl with Docker and Docker-compose

KitchenOwl is a smart self-hosted grocery list and recipe manager. Easily add items to your shopping list before you go shopping. You can also create recipes and get suggestions on what you want to cook. Track your expenses so you know how much you've spend.

Requirements

  • Docker
  • Docker-compose

How to install?

If you haven't docker-compose, you can install it by run this command:

sudo curl -L "https://github.com/docker/compose/releases/download/v2.11.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose

You can find latest version of docker-compose at https://github.com/docker/compose/releases.

Add execute permission:

# Bash
sudo chmod +x /usr/bin/docker-compose

Step 1:

Create docker-compose.yml file:

version: "3"

services:
  kitchenowl-frontend:
    container_name: kitchenowl-frontend
    image: tombursch/kitchenowl-web:latest
    environment:
      - FRONT_URL=http://localhost:8000
    ports:
      - "8000:80"
    depends_on:
      - kitchenowl-backend

  kitchenowl-backend:
    container_name: kitchenowl-backend
    image: tombursch/kitchenowl:latest
    restart: unless-stopped
    environment:
      - JWT_SECRET_KEY=PLEASE_CHANGE_ME
      - FRONT_URL=http://localhost:8000
    volumes:
      - ./kitchenowl_data:/data

Run docker-compose up -d to start container.

Step 2:

Now open your browser and type in http://localhost:8000.

Enjoying!