-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (52 loc) · 1.58 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
version: "3"
services:
mariadb:
build: ./docker/mariadb
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=1
- MYSQL_USER=${DB_USER}
- MYSQL_PASSWORD=${DB_PASSWD}
- MYSQL_DATABASE=${DB_NAME}
prestashop_1.7.6:
build: ./docker/prestashop1.7.6
depends_on:
- mariadb
ports:
- 8084:80
volumes:
- ${LOCAL_PROJECT_DIR}/app:${DOCKER_PROJECT_DIR}/app
- ${LOCAL_PROJECT_DIR}/config:${DOCKER_PROJECT_DIR}/config
- ${LOCAL_PROJECT_DIR}/modules:${DOCKER_PROJECT_DIR}/modules
- ${LOCAL_PROJECT_DIR}/override:${DOCKER_PROJECT_DIR}/override
- ${LOCAL_PROJECT_DIR}/src:${DOCKER_PROJECT_DIR}/src
- ${LOCAL_PROJECT_DIR}/themes:${DOCKER_PROJECT_DIR}/themes
- ${LOCAL_PROJECT_DIR}/var/logs:${DOCKER_PROJECT_DIR}/var/logs:ro
- ${LOCAL_PROJECT_DIR}/var/cache:${DOCKER_PROJECT_DIR}/var/cache:ro
# user: 1000:1000
environment:
- DB_SERVER=mariadb
- DB_PREFIX=ps176_
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- DB_PASSWD=${DB_PASSWD}
- PS_DEV_MODE=${PS_DEV_MODE}
- PS_INSTALL_AUTO=1
- PS_LANGUAGE=fr
- PS_COUNTRY=FR
- PS_FOLDER_ADMIN=${PS_FOLDER_ADMIN}
- PS_DOMAIN=${PS_DOMAIN}:8084
- PS_LANGUAGE=${PS_LANGUAGE}
- PS_COUNTRY=${PS_COUNTRY}
- PS_FOLDER_INSTALL=installed
- ADMIN_MAIL=${PS_ADMIN_EMAIL}
- ADMIN_PASSWD=${PS_ADMIN_PASSWD}
phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- mariadb
ports:
- 81:80
environment:
- PMA_HOST=${PMA_HOST}
- PMA_USER=${PMA_USER}
- PMA_PASSWORD=${PMA_PASSWORD}