|
1 gadu atpakaļ | |
---|---|---|
.. | ||
config | 1 gadu atpakaļ | |
dev | 1 gadu atpakaļ | |
interactive | 1 gadu atpakaļ | |
lua | 1 gadu atpakaļ | |
prod | 1 gadu atpakaļ | |
serve | 1 gadu atpakaļ | |
README.md | 1 gadu atpakaļ | |
build_dev.sh | 1 gadu atpakaļ | |
build_interactive.sh | 1 gadu atpakaļ | |
build_lua.sh | 1 gadu atpakaļ | |
build_prod.sh | 1 gadu atpakaļ | |
run_dev.sh | 1 gadu atpakaļ | |
run_interactive.sh | 1 gadu atpakaļ | |
run_lua.sh | 1 gadu atpakaļ | |
run_prod.sh | 1 gadu atpakaļ |
These files can be used for running Algernon as a docker container.
build_prod.sh and run_prod.sh is for building and running the production image for Algernon. This image will serve both HTTP and HTTPS+HTTP/2. Please adjust the Dockerfile for your needs. In particular, the caching is too aggressive if you have a dynamic web application. You might want to drop the "-c" flag unless you are only serving static files.
build_dev.sh and run_dev.sh is for building and running the development image. It can also take an argument which is either a directory to serve or an .alg file to serve.
Make sure ports are open in your firewall if you are serving anything remotely.
Adjust the configuration and scripts to your needs.