mirror of
https://github.com/lyx0/yaf.git
synced 2024-11-13 19:49:53 +01:00
add docker-compose.yml and Makefile for local docker build and run
This commit is contained in:
parent
894c04d0c7
commit
22735b6443
2 changed files with 14 additions and 0 deletions
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
build:
|
||||||
|
sudo docker build -t yaf .
|
||||||
|
run:
|
||||||
|
sudo docker compose up -d
|
10
docker-compose.yml
Normal file
10
docker-compose.yml
Normal 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'
|
||||||
|
|
Loading…
Reference in a new issue