Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 753 Bytes

README.md

File metadata and controls

42 lines (29 loc) · 753 Bytes

webserver

Lightweight c++ web server for archlinux with ftp (available in docker container)

Installation

Archlinux

makepkg -sif

Docker

docker build --rm -t webserver .

Usage

ArchLinux

Open up terminal (in website directory) and run commands

sudo mkdir -p /srv/webserver/
cd /srv/webserver/
webserver

Docker

Open up terminal (in website directory) and run commands

docker volume create webserver_certificates
docker volume create webserver_data
docker volume create webserver_etc
docker run --network=host -v webserver_certificates:/srv/certs \
           -v webserver_data:/srv/webserver \
           -v webserver_etc:/etc --name webserver -it webserver