readme update

This commit is contained in:
bunkerity
2020-10-17 17:02:42 +02:00
parent e166b1fea9
commit 81cff3648c
9 changed files with 183 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
version: '3'
services:
mywww:
image: bunkerity/bunkerized-nginx
restart: always
ports:
- 80:80
- 443:443
volumes:
- ./web-files:/www
- ./letsencrypt:/etc/letsencrypt
environment:
- SERVER_NAME=www.website.com # replace with your domain
- AUTO_LETS_ENCRYPT=yes
- REDIRECT_HTTP_TO_HTTPS=yes
- DISABLE_DEFAULT_SERVER=yes
- REMOTE_PHP=myphp
- REMOTE_PHP_PATH=/app
myphp:
image: php:fpm
restart: always
volumes:
- ./web-files:/app

View File

@@ -0,0 +1,5 @@
<?php
echo "Hello World!";
?>