Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moeen-basra/php-fpm-alpine
The basic image for php fpm alpine
https://github.com/moeen-basra/php-fpm-alpine
docker docker-laravel docker-php-fpm php-alpine php-fpm-81 php8
Last synced: about 2 months ago
JSON representation
The basic image for php fpm alpine
- Host: GitHub
- URL: https://github.com/moeen-basra/php-fpm-alpine
- Owner: moeen-basra
- Created: 2022-07-08T00:41:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-08T20:54:49.000Z (7 months ago)
- Last Synced: 2024-10-12T06:50:49.118Z (3 months ago)
- Topics: docker, docker-laravel, docker-php-fpm, php-alpine, php-fpm-81, php8
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Docker PHP FPM ALPINE
PHP FPM and ALPINE image for development. including the postgres pdo and client, nodejs, npm, git, nano
## How to use
You can use this image using `moeenbasra/php-fpm-alpine:latest` or `moeenbasra/php-fpm-alpine:tag`
## Build the docker image using following command
`docker build moeenbasra/php-fpm-alpine:latest --build-arg user={user} gid={gid} xdebug={true|false} xdebug_remote_host={xdebug_remote_host} xdebug_port={xdebug_port}`
### Here is example
`docker build moeenbasra/php-fpm-alpine:latest --build-arg user=laravel gid=1000 xdebug=true xdebug_remote_host=docker.for.mac.localhost xdebug_port=9001`
You can also override some of deault build arguments
1. user // default laravel
2. gid // default 1000
3. xdebug // default true
4. xdebug_remote_host // default docker.for.mac.localhost
5. xdebug_port // default 9001