-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·51 lines (46 loc) · 1.02 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
47
48
49
50
51
services:
apache:
build: .docker/apache
container_name: symfony_apache
ports:
- "8000:80"
volumes:
- .docker/config/vhosts:/etc/apache2/sites-enabled
- ./app:/home/wwwroot/app
depends_on:
- php
mysql:
image: mysql:8.3
ports:
- "3307:3306"
container_name: symfony_mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: symfony
MYSQL_USER: symfony
MYSQL_PASSWORD: symfony
mysql_test:
image: mysql:8.3
ports:
- "3308:3306"
container_name: symfony_mysql_test
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: symfony_test
MYSQL_USER: symfony_test
MYSQL_PASSWORD: symfony_test
php:
build: .docker/php
container_name: symfony_php
volumes:
- ./app:/home/wwwroot/app
environment:
- maildev_host=symfony_maildev
depends_on:
- maildev
- mysql
maildev:
image: djfarrelly/maildev
container_name: symfony_maildev
ports:
- "8001:80"