Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 400 Bytes

File metadata and controls

23 lines (15 loc) · 400 Bytes

Server from scratch

Add a .env file with a LOCAL_IP variable.

Docker

docker run --rm --mount --network host type=bind,src=./nginx/nginx.conf,dst=/etc/nginx/nginx.conf --name server-from-scratch --publish 80:8000 nginx

Docker compose

Up

docker compose up --build --detach

Down

docker compose down --remove-orphans --rmi all --volumes