mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-21 17:56:53 +02:00
add sws
This commit is contained in:
parent
33e222f5a2
commit
db0053e30b
@ -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
|
||||
|
7
static-web-server/README.md
Normal file
7
static-web-server/README.md
Normal 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
|
15
static-web-server/docker-compose.yml
Normal file
15
static-web-server/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user