add docker-compose.yml and Makefile for local docker build and run

This commit is contained in:
lyx0 2023-09-04 17:50:26 +02:00
parent 894c04d0c7
commit 22735b6443
2 changed files with 14 additions and 0 deletions

4
Makefile Normal file
View file

@ -0,0 +1,4 @@
build:
sudo docker build -t yaf .
run:
sudo docker compose up -d

10
docker-compose.yml Normal file
View file

@ -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'