From ceeb7d69f04660ec31cf02956902b464dfffa984 Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 13 Dec 2024 12:17:01 +0100 Subject: [PATCH] docs --- README.md | 23 +++++++++++++++++++++++ docker-compose-sample.yaml | 11 +++++++++++ 2 files changed, 34 insertions(+) create mode 100644 README.md create mode 100644 docker-compose-sample.yaml diff --git a/README.md b/README.md new file mode 100644 index 0000000..7251b85 --- /dev/null +++ b/README.md @@ -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 +``` diff --git a/docker-compose-sample.yaml b/docker-compose-sample.yaml new file mode 100644 index 0000000..6976026 --- /dev/null +++ b/docker-compose-sample.yaml @@ -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