fix: add Docker CLI to PHP container for deploy script

- Install docker-ce-cli + docker-compose-plugin in Dockerfile
- Mount Docker socket in docker-compose.yml
- Add www-data to docker group for socket access
This commit is contained in:
F4ilji
2026-07-02 01:50:40 +05:00
parent 3da95da099
commit cc98d509e5
2 changed files with 11 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ services:
dockerfile: _docker/app/Dockerfile
volumes:
- ./:/var/www
- /var/run/docker.sock:/var/run/docker.sock
container_name: ntspi-php
restart: always
ports: