forked from gamonoid/icehrm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
53 lines (49 loc) · 1.07 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
49
50
51
52
53
version: "3.5"
services:
mysql:
image: mysql:8.0.32
#command: --lower_case_table_names=1
ports:
- 9306:3306
environment:
MYSQL_ROOT_PASSWORD: IceHrmR00t
MYSQL_USER: dev
MYSQL_PASSWORD: dev
MYSQL_DATABASE: icehrm
volumes:
- ./docker/init.sql:/docker-entrypoint-initdb.d/setup.sql
- ./docker/development/db_data:/var/lib/mysql
icehrm:
build: .
ports:
- 9080:8080
environment:
ICE_CONFIG_FILE: ../docker/development/config/config.php
volumes:
- .:/var/www/html
icehrm-worker-dev:
build:
context: ./
dockerfile: Dockerfile-worker
args:
- EXE_ENV=development
volumes:
- .:/var/www/html
- ./docker/development/config/config.php:/var/www/html/app/config.php
phpmyadmin-dev:
depends_on:
- mysql
image: phpmyadmin
ports:
- "9081:80"
environment:
PMA_HOSTS: mysql
PMA_PORT: 9306
PMA_USER: dev
PMA_PASSWORD: dev
mailhog:
image: ajoergensen/mailhog
ports:
- "1025:1025"
volumes:
db_data: