-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.local.yml
53 lines (50 loc) · 1.19 KB
/
docker-compose.local.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: mysql_d
image: mysql:5.7
volumes:
- ./dbdumps:/docker-entrypoint-initdb.d/database.sql
- /var/lib/mysql
restart: always
environment:
MYSQL_USER: server
MYSQL_PASSWORD: Admin123@
MYSQL_ROOT_PASSWORD: Admin123@
MYSQL_DATABASE: prestadb
phpmyadmin:
container_name: phpmyadmin_d
image: phpmyadmin/phpmyadmin
ports:
- 8080:80
environment:
PMA_HOST: mysql_d
depends_on:
- mysql
prestashop:
container_name: prestashop_d
depends_on:
- mysql
build:
context: .
dockerfile: Dockerfile
ports:
- 80:80
- 443:443
restart: always
environment:
DB_SERVER: mysql_d
DB_USER: server
DB_PASSWD: Admin123@
DB_NAME: prestadb
PS_INSTALL_AUTO: 0
PS_ERASE_DB: 0
PS_DEV_MODE: 0
ALLOW_OVERRIDE: 1
ADMIN_MAIL: [email protected]
ADMIN_PASSWD: Admin123@
PS_DOMAIN: localhost:80
volumes:
- ./prestashop:/var/www/html
#- ./apache:/etc/apache2/sites-available
#- ./apachessl:/etc/apache2/conf-available