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