docker-compose: use local www root

This commit is contained in:
Zankaria 2024-03-31 23:12:19 +02:00 committed by Zankaria
parent e76dbfd7a0
commit 6ba2c7cf42
3 changed files with 5 additions and 1 deletions

3
.dockerignore Normal file
View file

@ -0,0 +1,3 @@
**/.git
**/.gitignore
/local-www

1
.gitignore vendored
View file

@ -55,6 +55,7 @@ php_errors.log
#vichan custom #vichan custom
favicon.ico favicon.ico
/static/spoiler.png /static/spoiler.png
local-www
piwik/ piwik/
jwplayer/ jwplayer/

View file

@ -23,7 +23,7 @@ services:
context: . context: .
dockerfile: ./docker/php/Dockerfile dockerfile: ./docker/php/Dockerfile
volumes: volumes:
- ./:/code - ./local-www:/var/www
- ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf - ./docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
networks: networks:
leftchan_net: leftchan_net: