Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/`