A simple static file server (Nginx + Docker Compose) for hosting static files so
they can be loaded by readonly.page via URLs, or any other purpose.
- Serves everything under
./publicfolder - Enables CORS via
nginx.conf
docker-compose.yml- runs Nginxnginx.conf- Nginx configpublic/- put your files here (Markdown, JSON, images, etc.). Organize them into folders as you need.
docker compose up -dOpen: http://localhost:9082/welcome.md
Restart:
docker compose restartStop:
docker compose downAdd / remove / edit files in public/ and refresh your browser. No restart
needed.
If you change nginx.conf, restart the container.