forked from PrestaShop/autoupgrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 864 Bytes
/
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
version: '2'
services:
mysql:
image: mysql:5.7
ports:
- '3306'
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: psreference
reference-release:
container_name: prestashop_autoupgrade
build:
context: .
dockerfile: ./.github/Dockerfile
args:
VERSION: $VERSION
volumes:
- ./:/var/www/html/modules/autoupgrade
- temp-ps:/var/www/html # Used for another container which needs PrestaShop content
environment:
DB_SERVER: mysql
DB_PASSWD: root
DB_NAME: psreference
PS_DOMAIN: localhost:8001
PS_INSTALL_AUTO: 1
PS_INSTALL_DB: 1
PS_ERASE_DB: 1
PS_FOLDER_ADMIN: admin-dev
PS_FOLDER_INSTALL: install-dev
PS_LANGUAGE: en
PS_COUNTRY: fr
depends_on:
- mysql
ports:
- '8001:80'
volumes:
temp-ps: