Amoeba web server
It is a lightweight asynchronous web server.
Amoeba created as a development tool for serving static files only. You can use it "as is" as you want but WITHOUT ANY WARRANTY.
BUILD
cargo build --release --verbose
Build Docker Image
docker build -t logix/amoeba .
docker push logix/amoeba:latest
Amoeba - Node 12
docker build -f Dockerfile.node -t logix/node12-amoeba .
docker push logix/node12-amoeba:latest
HOW TO USE
Launch in Docker container:
docker run --rm -it -p 8000:8000 -v $PWD:/app/public logix/amoeba:latestDocker compose:
amoeba_static: image: logix/amoeba:latest environment: AMOEBA_PORT: 8000 AMOEBA_HOST: 0.0.0.0 AMOEBA_INDEX_FILE: 'index.html' AMOEBA_PUBLIC_DIR: 'public' volumes: - <directory-with-static-files>:/app/public ports: - "8000:8000"