forked from satispay/prestashop-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (57 loc) · 1.42 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
54
55
56
57
services:
mysql:
container_name: satispay_prestashop-mysql
image: mysql:5.7
platform: linux/x86_64
restart: unless-stopped
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: admin
MYSQL_DATABASE: satispay_prestashop
networks:
- satispay_prestashop_network
volumes:
- satispay_prestashop_dbdata:/var/lib/mysql
prestashop:
container_name: satispay_prestashop-prestashop
image: prestashop/prestashop:8
platform: linux/x86_64
restart: unless-stopped
depends_on:
- mysql
ports:
- 8080:80
environment:
DB_SERVER: satispay_prestashop-mysql
DB_NAME: satispay_prestashop
DB_USER: root
DB_PASSWD: admin
PS_INSTALL_AUTO: 1
PS_DOMAIN: localhost:8080
PS_FOLDER_ADMIN: admin25
PS_FOLDER_INSTALL: install25
PS_USE_DOCKER_MAILDEV: 1
ADMIN_MAIL: prestashop@satispay.com
ADMIN_PASSWD: satispay
networks:
- satispay_prestashop_network
volumes:
- type: bind
source: ./
target: /var/www/html/modules/satispay
- type: bind
source: ./psdata
target: /var/www/html
maildev:
container_name: satispay_prestashop-maildev
image: 'maildev/maildev'
ports:
- "1080:1080"
networks:
- satispay_prestashop_network
networks:
satispay_prestashop_network:
volumes:
satispay_prestashop_dbdata:
satispay_prestashop_psdata: