-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·53 lines (53 loc) · 1.13 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3'
services:
mysql:
container_name: demo82-mysql
image: mysql:5.7
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: prestashop_demo82
networks:
- prestashop_network
volumes:
- demo82dbdata:/var/lib/mysql
prestashop:
container_name: demo82
image: prestashop/prestashop:8.2.0
restart: unless-stopped
depends_on:
- mysql
ports:
- 9096:80
environment:
DB_SERVER: demo82-mysql
DB_NAME: prestashop_demo82
DB_USER: root
DB_PASSWD: admin
PS_FOLDER_ADMIN: admindemo82
PS_FOLDER_INSTALL: install1234
networks:
- prestashop_network
volumes:
- type: bind
source: ./
target: /var/www/html
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: demo82-phpmyadmin
links:
- mysql
environment:
PMA_HOST: demo82-mysql
PMA_PORT: 3306
PMA_ARBITRARY: 1
UPLOAD_LIMIT: 300M
restart: unless-stopped
ports:
- 8080:80
networks:
- prestashop_network
networks:
prestashop_network:
volumes:
demo82dbdata: