Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sendya/docker-php-nginx
Dockerized php & nginx
https://github.com/sendya/docker-php-nginx
Last synced: about 5 hours ago
JSON representation
Dockerized php & nginx
- Host: GitHub
- URL: https://github.com/sendya/docker-php-nginx
- Owner: sendya
- License: mit
- Created: 2023-11-22T03:48:39.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-01-10T07:16:46.000Z (10 months ago)
- Last Synced: 2024-05-03T00:23:00.413Z (7 months ago)
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Dockerized PHP & Nginx
PHP(fpm): 7.4.33
Nginx: nginx/1.20.2---
webroot: `/var/www/html/`
nginx-conf: `/etc/nginx/conf.d/` default.conf### Build Image
```bash
$ docker buildx build --platform=linux/arm64 -t php-fpm:7.4.33 . --no-cache
```### docker-compose
```yaml
version: "3"services:
myweb:
image: php-fpm:7.4.33
container_name: myweb
ports:
- 8080:8080
volumes:
- ./www:/var/www/html
- ./nginx-conf:/etc/nginx/conf.d
restart: always
```