596 B
596 B
Docker-Compose stack with nginx, php-fpm and h5ai file server. This stack will expose the entiree /var/nginx folder, the html webroot folder, and the /var/log/nginx folder to the host. nginx is linked to php-fpm, and php-fpm container exposed on "php-fpm:9000" (EG "fpm container name:fpm port")
Copy .env.example to .env and define
HTTP_PORT=8888 HTTPS_PORT=8889
Use whatever ports you need to.
You will need to chmod -R 777 ./docker-persist to avoid some file access issuies.
Edit the /docker-persist/nginx/conf.d/h5ai.conf file to reflect the correct hostname you want, if you need to.