use custom volumes in docker-compose.override

This commit is contained in:
Arthur de Moulins
2020-02-28 17:00:31 +01:00
parent 4a634070d1
commit 090ff844e3
5 changed files with 34 additions and 17 deletions

8
.env
View File

@@ -61,3 +61,11 @@ IDE_KEY=PHPSTORM
PHRASEANET_SUBNET_IPS=172.32.0.0/16
PHRASEANET_GATEWAY_IP=172.32.0.1
PHP_IDE_CONFIG=serverName=docker-server-phraseanet
# Volumes location for dev
PHRASEANET_CONFIG_DIR=./config
PHRASEANET_LOGS_DIR=./logs
PHRASEANET_DATA_DIR=./datas
PHRASEANET_DB_DIR=./volumes/db
PHRASEANET_ELASTICSEARCH_DIR=./volumes/elasticsearch
PHRASEANET_THUMBNAILS_DIR=./www/thumbnails