diff --git a/README.md b/README.md index e61418a..0b1c1cb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,10 @@ # deadbeef.codes-publicfileserver -Serves files to the public, static content host, etc. \ No newline at end of file +Serves files to the public, static content host from /data/public + +## Usage + +```shell +git clone https://deadbeef.codes/steven/deadbeef.codes-publicfileserver.git +docker-compose up -d +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..24d99d9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3.7' + +services: + publicfileserver: + image: registry.deadbeef.codes/deadbeef.codes-publicfileserver:latest + restart: always + volumes: + - /data/public:/public \ No newline at end of file