-
Notifications
You must be signed in to change notification settings - Fork 42
/
docker-compose.yml
45 lines (45 loc) · 1.33 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: "3"
services:
php:
build:
context: '.'
dockerfile: ./docker/php/Dockerfile
restart: always
volumes:
- ./docker/php/php.ini:/usr/local/etc/php/php.ini
- ./:/var/www/html:cached
- ./docker/php/custom.httpd.conf:/etc/httpd/conf.d/custom.httpd.conf
- app-ignore-1:/var/www/html/test/template_c
ports:
- 80:80
environment:
FREVOCRM_INSTALLER_DB_HOST: "db"
FREVOCRM_INSTALLER_DB_PORT: "3306"
FREVOCRM_INSTALLER_DB_USER: "root"
FREVOCRM_INSTALLER_DB_PASSWORD: "docker"
FREVOCRM_INSTALLER_DB_NAME: "frevocrm"
FREVOCRM_INSTALLER_DB_ROOT_USER: "root"
FREVOCRM_INSTALLER_DB_ROOT_PASSWORD: "docker"
# Xdebugの設定を有効にしたい場合は、mode=debug に変更してください
XDEBUG_CONFIG: "mode=off client_host=host.docker.internal client_port=9003 start_with_request=yes"
TZ: "Asia/Tokyo"
db:
build:
context: "."
dockerfile: ./docker/mysql/Dockerfile
restart: always
volumes:
- db-store:/var/lib/mysql
- db-log-store:/var/log/mysql
environment:
MYSQL_DATABASE: "frevocrm"
MYSQL_USER: "docker"
MYSQL_PASSWORD: "docker"
MYSQL_ROOT_PASSWORD: "docker"
TZ: "Asia/Tokyo"
ports:
- 3306:3306
volumes:
db-store:
db-log-store:
app-ignore-1: