Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salamonrafal/php-web-service
This is docker image with simply configuration NGINX & PHP 7.4 in one container without any frameworks.
https://github.com/salamonrafal/php-web-service
docker php php-7 template-project
Last synced: about 1 month ago
JSON representation
This is docker image with simply configuration NGINX & PHP 7.4 in one container without any frameworks.
- Host: GitHub
- URL: https://github.com/salamonrafal/php-web-service
- Owner: salamonrafal
- Created: 2020-10-20T08:28:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T14:01:29.000Z (over 2 years ago)
- Last Synced: 2024-10-13T12:21:22.501Z (2 months ago)
- Topics: docker, php, php-7, template-project
- Language: Batchfile
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# php-web-service default
This is docker image with simply configuration NGINX & PHP 7.4 in one container without any frameworks.
## Actions:
* Build image
* Remove image
* Create container
* Run container
* Remove container
* SSH### Build image
* Windows CMD:
```batch
"./docker/bin/service.bat" build-image
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat build-image
```### Create container
* Windows CMD:
```batch
"./docker/bin/service.bat" create-container
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat create-container
```### Start container
* Windows CMD:
```batch
"./docker/bin/service.bat" start-container
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat start-container
```### Remove container
* Windows CMD:
```batch
"./docker/bin/service.bat" remove-container
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat remove-container
```### Run container
* Windows CMD:
```batch
"./docker/bin/service.bat" run-container
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat run-container
```### Remove image
* Windows CMD:
```batch
"./docker/bin/service.bat" remove-image
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat remove-image
```### Connect to container via ssh
* Windows CMD:
```batch
"./docker/bin/service.bat" ssh
```* Windows PowerShell terminal:
```powershell
./docker/bin/service.bat ssh
```## Mounted directories
* `./` > `/var/www/web-server/`
* `./docker/nginx/welcome-html/` > `/var/www/welcome/`