File tree Expand file tree Collapse file tree 1 file changed +23
-9
lines changed
Expand file tree Collapse file tree 1 file changed +23
-9
lines changed Original file line number Diff line number Diff line change 1- # simpleton
1+ # Simpleton
22Simpleton HTTPd is a really simple web server that serves static content from a directory.
33
4-
5-
6-
7-
8-
9-
104## Docker
115
126```
13- docker build -t kluzz/simpleton:latest .
147docker run -p 80:80 -v /tmp/simpleton/content:/www kluzz/simpleton:latest
15- ```
8+ ```
9+
10+ ## Docker Compose
11+
12+ ```
13+ services:
14+ simpleton:
15+ image: kluzz/simpleton:latest
16+ container_name: "simpleton"
17+ ports:
18+ - "80:80"
19+ volumes:
20+ - ./www:/www:ro
21+ - ./logs:/var/log/simpleton
22+ environment:
23+ - SIMPLETON_LISTEN_ADDRS=:80
24+ - SIMPLETON_ACCESS_LOG_PATH=/var/log/simpleton/access.log
25+ - SIMPLETON_SERVER_LOG_PATH=/var/log/simpleton/server.log
26+ - SIMPLETON_CONTENT_PATH=/www
27+ - SIMPLETON_CHROOT=true
28+ restart: unless-stopped
29+ ```
You can’t perform that action at this time.
0 commit comments