content volume

This commit is contained in:
Rodolfo Berrios 2021-11-20 20:28:28 -03:00
parent 428e5ad3f0
commit eda6894863
No known key found for this signature in database
GPG key ID: 3918A8F6B56606B3
3 changed files with 7 additions and 3 deletions

View file

@ -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:

View file

@ -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

View file

@ -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: