-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yaml
48 lines (45 loc) · 1.03 KB
/
docker-compose.yaml
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
version: '3'
networks:
app-network:
services:
app:
image: psr:latest
container_name: app
volumes:
- ./src:/var/www/html
networks:
- app-network
ports:
- 80:80
environment:
OCBR_HTTP_SERVER: "http://localhost/"
OCBR_DB_DRIVER: "pdo"
OCBR_DB_HOST: "db"
OCBR_DB_USER: "store"
OCBR_DB_PASS: "store"
OCBR_DB_DATABASE: "opencartbrasil"
OCBR_DB_PORT: "3306"
OCBR_DB_PREFIX: "oc_"
OCBR_ADMIN_USER: "admin"
OCBR_ADMIN_PASS: "123456"
OCBR_ADMIN_EMAIL: "webmaster@localhost"
MAIL_DRIVER: "smtp"
MAIL_PARAMETER: ""
MAIL_SERVER: "smtp.mailtrap.io"
MAIL_USER: "<user>"
MAIL_PASS: "<pass>"
MAIL_PORT: "587"
MAIL_TIMEOUT: "30"
MAIL_ADDITIONAL_MAILS: ""
depends_on:
- db
db:
image: mysql:5.7
container_name: db
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: store
MYSQL_PASSWORD: store
MYSQL_DATABASE: opencartbrasil
networks:
- app-network