spujadas / lighttpd-docker

Docker image for lighttpd, a secure, fast, compliant, and flexible web server
MIT License
59 stars 65 forks source link

cant find config file #13

Closed soydepr closed 4 years ago

soydepr commented 4 years ago

first , thanks for this image .

not able to find file /etc/lighttpd/lighttpd.conf is it on local host.

also when i try to connect to the console using portainer it fails to connect

spujadas commented 4 years ago

not able to find file /etc/lighttpd/lighttpd.conf is it on local host.

No, it's in the image (see https://github.com/spujadas/lighttpd-docker/tree/master/etc/lighttpd). If you want to use your own, then you'll need to override the configuration in the container by bind-mount a file or directory on the host where the container is running (see https://github.com/spujadas/lighttpd-docker#usage and https://docs.docker.com/storage/bind-mounts/).

also when i try to connect to the console using portainer it fails to connect

In Portainer, connect using /bin/ash instead of the default /bin/bash.

image