about summary refs log tree commit diff
path: root/README.md
blob: ecdbf2e1f7fe7fc3f46318c80b049fef532820dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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