1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/static-web-server/docker-compose.yml
2024-09-26 16:09:54 +08:00

16 lines
331 B
YAML

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