Skip to content

Commit

Permalink
Fixing php error
Browse files Browse the repository at this point in the history
  • Loading branch information
ghecquet committed Jun 18, 2018
1 parent 1a2cd71 commit 971aee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion discovery/install/lib/frontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func checkPhpFpm(installConfig *install.InstallConfig) *install.CheckResult {
if e != nil {
checkError = e
} else {
folder := filepath.Join(config.ApplicationDataDir(), "phptest")
folder := filepath.Join(config.ApplicationDataDir(), "static", "pydio", "phptest")
os.MkdirAll(folder, 0777)
fpm.DetectPhpInfos(configs, folder)
os.Remove(folder)
Expand Down
5 changes: 1 addition & 4 deletions tools/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ services:
environment:
- CELLS_BIND=localhost:8080
- CELLS_EXTERNAL=localhost:8080
- CELLS_NO_SSL=1
network_mode: "host"

# MySQL image with a default database cells and a dedicated user pydio
mysql:
Expand All @@ -24,15 +22,14 @@ services:
MYSQL_PASSWORD: P@ssw0rd
command: [mysqld, --character-set-server=utf8mb4, --collation-server=utf8mb4_unicode_ci]
ports: ["3306:3306"]
network_mode: "host"

# PHP FPM image with the static named volume from the cells container
php:
image: cells-php:latest
restart: always
volumes: ["static:/root/.config/pydio/cells/static/pydio"]
network_mode: "host"

volumes:
static: {}
data: {}
php: {}

0 comments on commit 971aee0

Please sign in to comment.