You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-06-16 23:57:37 +02:00
add sws
This commit is contained in:
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
|
Reference in New Issue
Block a user