This commit is contained in:
parent
4370c73b4d
commit
ceeb7d69f0
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# webserver-nginx
|
||||
|
||||
[](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
|
||||
```
|
11
docker-compose-sample.yaml
Normal file
11
docker-compose-sample.yaml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user