1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00
This commit is contained in:
kev 2024-09-26 16:09:54 +08:00
parent 33e222f5a2
commit db0053e30b
3 changed files with 23 additions and 0 deletions

View File

@ -521,6 +521,7 @@ A collection of delicious docker recipes.
- [x] teamatldocker
- [x] confluence
- [x] jira
- [x] joseluisq/static-web-server
- [x] openstitching/stitch
- [x] strapi/strapi
- [x] amancevice/superset

View File

@ -0,0 +1,7 @@
static-web-server
=================
[Static Web Server][1] (or SWS abbreviated) is a tiny and fast production-ready web
server suitable to serve static web files or assets.
[1]: https://github.com/static-web-server/static-web-server

View File

@ -0,0 +1,15 @@
version: "3.8"
services:
sws:
image: joseluisq/static-web-server:2
ports:
- "8000:8000"
volumes:
- ./data:/data
environment:
- SERVER_COMPRESSION=true
- SERVER_DIRECTORY_LISTING=true
- SERVER_DIRECTORY_LISTING_ORDER=0
- SERVER_PORT=8000
- SERVER_ROOT=/data
restart: unless-stopped