mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update prestashop
This commit is contained in:
parent
fb4a94ba42
commit
6a5b3cbd11
@ -8,19 +8,24 @@ free.
|
|||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
prestashop:
|
version: "3.8"
|
||||||
image: prestashop/prestashop:1.7-7.2-apache
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
prestashop:
|
||||||
|
image: prestashop/prestashop:1.7-apache
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
links:
|
|
||||||
- mysql
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/www/html
|
- ./data/prestashop:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8
|
image: mariadb:10
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=root
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
- MYSQL_DATABASE=prestashop
|
- MYSQL_DATABASE=prestashop
|
||||||
|
@ -1,16 +1,21 @@
|
|||||||
prestashop:
|
version: "3.8"
|
||||||
image: prestashop/prestashop:1.7-7.2-apache
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
prestashop:
|
||||||
|
image: prestashop/prestashop:1.7-apache
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
links:
|
|
||||||
- mysql
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/var/www/html
|
- ./data/prestashop:/var/www/html
|
||||||
|
depends_on:
|
||||||
|
- mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
mysql:
|
mysql:
|
||||||
image: mysql:8
|
image: mariadb:10
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
volumes:
|
||||||
|
- ./data/mysql:/var/lib/mysql
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=root
|
- MYSQL_ROOT_PASSWORD=root
|
||||||
- MYSQL_DATABASE=prestashop
|
- MYSQL_DATABASE=prestashop
|
||||||
|
Loading…
Reference in New Issue
Block a user