forked from leftypol/leftypol
docker-compose: use local www root
This commit is contained in:
parent
e76dbfd7a0
commit
6ba2c7cf42
3 changed files with 5 additions and 1 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
**/.git
|
||||||
|
**/.gitignore
|
||||||
|
/local-www
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -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/
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue