content volume
This commit is contained in:
parent
428e5ad3f0
commit
eda6894863
3 changed files with 7 additions and 3 deletions
|
@ -22,6 +22,7 @@ services:
|
|||
- chevereto
|
||||
volumes:
|
||||
- storage:/var/www/html/images/
|
||||
- content:/var/www/html/content/
|
||||
- app:/var/www/html/
|
||||
- type: bind
|
||||
source: ${SOURCE}
|
||||
|
@ -40,6 +41,7 @@ services:
|
|||
|
||||
volumes:
|
||||
database:
|
||||
content:
|
||||
storage:
|
||||
app:
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@ RUN set -eux; \
|
|||
} > $PHP_INI_DIR/conf.d/php.ini
|
||||
|
||||
VOLUME /var/www/html
|
||||
VOLUME /var/www/html/content
|
||||
VOLUME /var/www/html/images
|
||||
|
||||
COPY . /var/www/html
|
||||
|
|
|
@ -7,7 +7,7 @@ services:
|
|||
networks:
|
||||
- chevereto
|
||||
volumes:
|
||||
- data:/var/lib/mysql
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
|
@ -22,7 +22,7 @@ services:
|
|||
- chevereto
|
||||
volumes:
|
||||
- storage:/var/www/html/images/
|
||||
- app:/var/www/html/
|
||||
- content:/var/www/html/content/
|
||||
ports:
|
||||
- 8810:80
|
||||
restart: always
|
||||
|
@ -36,7 +36,8 @@ services:
|
|||
CHEVERETO_HTTPS: 0
|
||||
|
||||
volumes:
|
||||
data:
|
||||
database:
|
||||
content:
|
||||
storage:
|
||||
app:
|
||||
|
||||
|
|
Loading…
Reference in a new issue