about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Karl <akarl@darknebu.la>2019-10-10 22:25:18 +0200
committerAlexander Karl <akarl@darknebu.la>2019-10-10 22:25:18 +0200
commitbf9523fba1bf27e96ac054d195e44076382b0686 (patch)
tree5ab320357357767f7494de65406adb70d75d224c /README.md
parented60471af6f0ff159b6719be8547d23842a78e27 (diff)
add readme HEAD master
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ecdbf2e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,20 @@
+## Static Filehost
+- Container is build to host static files from defined path
+- Can be used with subpath
+- Ignores requests to /
+### Use Container
+#### Docker run
+docker run -it --rm -p 8080:8080 -e port=8080 -e dir=/lul -e subpath="fump" -v /tmp/:/lul registry.darknebu.la/circus/static
+#### Docker compose
+services: 
+  static_files:
+    image: registry.darknebu.la/circus/static
+    environment: 
+      - "dir=/content"
+      - "port=8080"
+      - "subpath=fump"
+    ports: 
+      - "8080:8080"
+    volumes: 
+      - "/tmp/:/content"
+    restart: unless-stopped