-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 1.26 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
version: "3.1"
volumes:
cryptobot-data-1:
driver: local
services:
mysql1:
image: mysql:5.7
container_name: cryptobot-sql-1
environment:
- MYSQL_DATABASE=cryptobot
- MYSQL_USER=cryptobot
- MYSQL_PASSWORD=cryptobot
- MYSQL_ROOT_PASSWORD=cryptobot
- TZ=America/Sao_Paulo
volumes:
- cryptobot-data-1:/var/lib/mysql
php-nginx:
image: marciodojr/php-fpm:80-dev-nginx
container_name: cryptobot
environment:
- APP_NAME=AppLog
# Email
- EMAIL_API=
- SENDGRID_API_KEY=
# DB
- DB_HOST=mysql1
- DB_PORT=3306
# DB Api Hub
- DB_NAME=cryptobot
- DB_NAME_LOG=cryptobot
- DB_USER=root
- DB_PASS=cryptobot
# URL
- APP_URL=http://localhost:8886
- COMPOSER_AUTH=${COMPOSER_AUTH}
volumes:
- .:/var/www/app
- ./xdebug.ini:/etc/php/8.0/fpm/conf.d/26-xdebug.ini
- ./xdebug.ini:/etc/php/8.0/cli/conf.d/26-xdebug.ini
ports:
- 8082:8080
depends_on:
- mysql1