From 22735b64432694d73ab970c06601944ae1ada967 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Mon, 4 Sep 2023 17:50:26 +0200 Subject: [PATCH] add docker-compose.yml and Makefile for local docker build and run --- Makefile | 4 ++++ docker-compose.yml | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 Makefile create mode 100644 docker-compose.yml diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fc11c80 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +build: + sudo docker build -t yaf . +run: + sudo docker compose up -d diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7e8fb2e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: '3.9' +services: + jaf: + image: jaf + volumes: + - '/path/to/local/filedir:/var/www/yaf' + - '/path/to/your/yaf.conf:/app/yaf.conf' + ports: + - '4712:4711' +