php-fpm with additional modules
3.8K
![]()
---
version: "3.5"
services:
## Will be your fpm url in nginx/apache setup
fpm:
image: martadinata666/php-fpm:alpine
container_name: fpm
environment:
- TZ=your-timezone
## This volumes block must in sync with your web apps mount
volumes:
- /path/to/your/web:/var/www/html
#ports:
# - 10000:9000
---
version: "3.5"
services:
fpm:
image: martadinata666/php-fpm:8.0
container_name: fpm
environment:
- TZ=Asia/Jakarta
volumes:
- /my/www:/var/www/html #set perm 777
networks:
- fpm-stack
web:
image: martadinata666/nginx:mainline
container_name: web
volumes:
- /my/www:/var/www/html #set perm 777
ports:
- 8080:8080
- 8383:8443
networks:
- fpm-stack
networks:
fpm-stack:
name: fpm-stack
* apcu
* bcmath
* bz2
* Core
* ctype
* curl
* date
* dom
* exif
* fileinfo
* filter
* ftp
* gd
* gettext
* gmp
* hash
* iconv
* imagick
* intl
* json
* libsmbclient
* libxml
* mbstring
* memcached
* mysqlnd
* openssl
* pcntl
* pcre
* pdlib
* PDO
* pdo_mysql
* pdo_pgsql
* pdo_sqlite
* Phar
* posix
* readline
* redis
* Reflection
* session
* SimpleXML
* smbclient
* sodium
* SPL
* sqlite3
* standard
* tokenizer
* xml
* xmlreader
* xmlwriter
* Zend OPcache
* zip
* zlib
[Zend Modules]
* Zend OPcache
Content type
Image
Digest
sha256:05d8e7fd9…
Size
140.5 MB
Last updated
almost 3 years ago
docker pull martadinata666/php-fpm:8.2