2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01: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

@@ -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