forked from retailcrm/opencart-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (39 loc) · 956 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
version: '3'
services:
app:
build:
context: .
dockerfile: ./.docker/Dockerfile
args:
- TEST_SUITE=${TEST_SUITE}
- OPENCART=${OPENCART}
- SERVER_PORT=${SERVER_PORT}
- OC_DB_HOSTNAME=${OC_DB_HOSTNAME}
- OC_DB_USERNAME=${OC_DB_USERNAME}
- OC_DB_PASSWORD=${OC_DB_PASSWORD}
- OC_DB_DATABASE=${OC_DB_DATABASE}
- OC_USERNAME=${OC_USERNAME}
- OC_PASSWORD=${OC_PASSWORD}
- OC_EMAIL=${OC_EMAIL}
volumes:
- ./:/opencart-module
links:
- "mysql"
ports:
- "${SERVER_PORT}:${SERVER_PORT}"
depends_on:
- mysql
env_file:
- .env
working_dir: /opencart-module
mysql:
image: mysql:5.7
env_file:
- .env
environment:
- MYSQL_DATABASE=${OC_DB_DATABASE}
- MYSQL_USER=${OC_DB_USERNAME}
- MYSQL_PASSWORD=${OC_DB_PASSWORD}
- MYSQL_ROOT_PASSWORD=root
ports:
- "3306:3306"