摘要: version: "3" services: redis: image: redis container_name: redis ports: - 6379:6379 command: redis-server --requirepass 123456 php: restart: always im 阅读全文
posted @ 2020-12-07 11:16 酷酷的城池 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 使用docker安装的PHPFPM容器没有Redis扩展,需要安装一下扩展。 首先进入docker的PHPFPM容器 $ docker exec -it myphpfpm /bin/bash $ curl -L -o /tmp/redis.tar.gz https://github.com/phpr 阅读全文
posted @ 2020-12-07 10:18 酷酷的城池 阅读(716) 评论(0) 推荐(0) 编辑