-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
47 lines (47 loc) · 1.23 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
services:
db:
image: mysql:5.7
platform: linux/x86_64
environment:
MYSQL_ROOT_PASSWORD: prestashop
MYSQL_DATABASE: prestashop
MYSQL_USER: prestashop
MYSQL_PASSWORD: prestashop
mailcatcher:
image: sj26/mailcatcher
platform: linux/x86_64
ports:
- "1080:1080"
- "8025:8025"
app:
platform: linux/x86_64
volumes:
- ./:/var/www/html/modules/multisafepayofficial
depends_on:
- db
ports:
- "80:80"
build: .
environment:
PS_DEV_MODE: 1
DB_SERVER: db
DB_PASSWD: prestashop
PS_INSTALL_AUTO: 1
PS_FOLDER_ADMIN: admin-dev
PS_FOLDER_INSTALL: install-dev
PS_DOMAIN: ${APP_SUBDOMAIN}.${EXPOSE_HOST}
PS_ENABLE_SSL: 1
extra_hosts:
- "host.docker.internal:host-gateway"
expose:
build: https://github.com/beyondcode/expose.git
entrypoint: [ "/bin/sh", "-c" , "/src/expose token ${EXPOSE_TOKEN} && sed -i -E \"s/'dns'\\s?=>\\s?'.*'/'dns' => true/g\" /root/.expose/config.php && /src/expose share app --server-host=${EXPOSE_HOST} --subdomain=${APP_SUBDOMAIN}" ]
ports:
- "4040:4040"
adminer:
image: adminer
platform: linux/x86_64
ports:
- "8080:8080"
links:
- db