forked from monicahq/monica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
50 lines (46 loc) · 1.01 KB
/
docker-compose.dev.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
47
48
49
50
version: '3'
services:
monicahq:
build:
context: .
dockerfile: Dockerfile.dev
image: monicahq/monicahq:dev
depends_on:
- mysql
ports:
- 8080:80
env_file: .env.dev
volumes:
- /var/www/monica/storage
- ./app:/var/www/monica/app
- ./routes:/var/www/monica/routes
- ./database:/var/www/monica/database
mysql:
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=sekret_root_password
- MYSQL_DATABASE=monica
- MYSQL_USER=homestead
- MYSQL_PASSWORD=secret
volumes:
- /var/lib/mysql
phpmyadmin:
image: phpmyadmin/phpmyadmin
depends_on:
- mysql
environment:
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: sekret_root_password
restart: always
ports:
- "3000:80"
volumes:
- "/sessions"
mail:
container_name: fake_mail
image: mailhog/mailhog
ports:
- "8025:8025"
- "1025:1025"