docs
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paolo Asperti 2024-12-13 12:17:01 +01:00
parent 4370c73b4d
commit ceeb7d69f0
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 34 additions and 0 deletions

23
README.md Normal file
View File

@ -0,0 +1,23 @@
# webserver-nginx
[![Build Status](https://drone.asperti.com/api/badges/paspo/docker-webserver-nginx/status.svg)](https://drone.asperti.com/paspo/docker-webserver-nginx)
Small webserver with PHP support and SFTP access
## usage
Use this `docker-compose.yaml`
```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
environment:
PHP: php84 # none, php82, php83, php84
```

View File

@ -0,0 +1,11 @@
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
environment:
PHP: php84 # none, php82, php83, php84