abac3e6949642417d81894a5a885c971442aa6e2
All checks were successful
continuous-integration/drone/push Build is passing
webserver-nginx
Small webserver with PHP support and SFTP access
usage
Use this docker-compose.yaml
services:
web:
image: docker.asperti.com/paspo/webserver-nginx
ports:
- 8888:80
- 2222:22
volumes:
- ./www:/data/www
- ./ssh:/ssh # add authorized_keys file here
- ./extra_nginx.conf:/etc/nginx/custom.d/extra.conf # optional
environment:
PHP: php84 # none (default), php82, php83, php84
PUID: 1000 # default: 1000
PGID: 1000 # default: 1000
TZ: Etc/UTC # default: Etc/UTC
The /data/www directory and its contents will be chowned to $PUID:$PGID and chmodded to 0755 for directories and 0644 for files at container start.
Languages
Shell
83%
HTML
8.8%
Dockerfile
8.2%