Explorar el Código

Moved site data to dedicated directory

main
Simon Bowie hace 3 años
padre
commit
24c9e9d5f4
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. +2
    -2
      docker-compose.yml
  2. +1
    -1
      nginx/default.conf
  3. +0
    -0
      site/public/index.php

+ 2
- 2
docker-compose.yml Ver fichero

@@ -8,7 +8,7 @@ services:
ports:
- '9000:9000'
volumes:
- ./public:/var/www/html
- ./site:/var/www/html

nginx:
container_name: nginx
@@ -16,7 +16,7 @@ services:
ports:
- '8080:80'
volumes:
- ./public:/var/www/html
- ./site:/var/www/html
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
depends_on:
- php

+ 1
- 1
nginx/default.conf Ver fichero

@@ -3,7 +3,7 @@ server {
listen 80;
index index.php;
server_name localhost;
root /var/www/html;
root /var/www/html/public;
error_log /var/log/nginx/project_error.log;
access_log /var/log/nginx/project_access.log;


public/index.php → site/public/index.php Ver fichero


Cargando…
Cancelar
Guardar