Revert "feat: docker-compose with hugo dev mode"

This reverts commit 5a3be8e546.
This commit is contained in:
Hugo Poissonnet 2022-12-08 13:16:17 +01:00
parent 5a3be8e546
commit 9bfc828bd5
2 changed files with 0 additions and 12 deletions

View File

@ -12,10 +12,3 @@ services:
image: php:8-fpm
volumes:
- ./www:/var/www/html
hugo:
image: mbentley/hugo
working_dir: "/data"
user: "${UID}:${GID}"
volumes:
- ./v2:/data
command: server -D --bind 0.0.0.0

View File

@ -5,11 +5,6 @@ server {
# access_log /var/log/nginx/access.log;
root /var/www/html;
try_files $uri $uri/ /index.php;
location /v2 {
proxy_pass http://hugo:1313/v2;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php-fpm:9000;