From 78f68ca8812323f43160097ece64b227f246248e Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Sun, 12 Mar 2023 16:27:20 +0100 Subject: [PATCH] Update docker-compose.yml --- examples/nginx-php/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/nginx-php/docker-compose.yml b/examples/nginx-php/docker-compose.yml index fd8efa8..4c8ff1d 100644 --- a/examples/nginx-php/docker-compose.yml +++ b/examples/nginx-php/docker-compose.yml @@ -5,8 +5,8 @@ services: image: nginx:latest hostname: nginx volumes: - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/nginx-conf:/etc/nginx/conf.d + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www # place your files for web here + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/nginx-conf:/etc/nginx/conf.d # place provided nginx.conf here - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/logs:/var/log/nginx container_name: nginx restart: unless-stopped @@ -24,7 +24,7 @@ services: image: php:8-fpm-alpine hostname: php volumes: - - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www + - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/nginx/www-data:/var/www # must be same path to www-data as above container_name: php restart: unless-stopped working_dir: /var/www