forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (43 loc) · 1.22 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
version: '2.1'
volumes:
db-data:
vendor:
var:
services:
mysql:
image: mysql:5
ports:
- "3306"
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: prestashop
MYSQL_DATABASE: prestashop
restart: always
prestashop-git:
build:
dockerfile: .docker/Dockerfile
context: .
args:
- VERSION=${VERSION:-8.1-apache}
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
environment:
DISABLE_MAKE: ${DISABLE_MAKE:-0}
PS_INSTALL_AUTO: ${PS_INSTALL_AUTO:-1}
DB_PASSWD: ${DB_PASSWD:-prestashop}
DB_NAME: ${DB_NAME:-prestashop}
DB_SERVER: ${DB_SERVER:-mysql}
DB_PREFIX: ${DB_PREFIX:-ps_}
PS_DOMAIN: ${PS_DOMAIN:-localhost:8001}
PS_FOLDER_INSTALL: ${PS_FOLDER_INSTALL:-install-dev}
PS_FOLDER_ADMIN: ${PS_FOLDER_ADMIN:-admin-dev}
PS_COUNTRY: ${PS_COUNTRY:-fr}
PS_LANGUAGE: ${PS_LANGUAGE:-fr}
PS_DEV_MODE: ${PS_DEV_MODE:-0}
ADMIN_PASSWD: ${ADMIN_PASSWD:-Correct Horse Battery Staple}
command: ["/tmp/wait-for-it.sh", "--timeout=60", "--strict", "mysql:3306", "--", "/tmp/docker_run_git.sh"]
ports:
- "8001:80"
volumes:
- ./:/var/www/html:delegated