-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (53 loc) · 1.12 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
52
53
54
services:
web:
build:
context: ./docker/nginx
container_name: crm.web
volumes:
- .:/var/www
- ./docker/logs/nginx/:/var/log/nginx/
depends_on:
- php-fpm
- db
ports:
- "80:80"
- "443:443"
php-fpm:
build:
context: ./docker/php-fpm
container_name: crm.php
volumes:
- .:/var/www
- ./docker/logs/symfony/:/var/log/
db:
build:
context: ./docker/database
container_name: crm.db
env_file:
- ./docker/database/.env
ports:
- "3308:3306"
adminer:
build:
context: ./docker/adminer
container_name: crm.adminer
restart: always
ports:
- 8080:8080
mailcatcher:
container_name: crm.mailcatcher
# build: . # if building from source
image: stpaquet/alpinemailcatcher:latest # or any other image you want to use
environment:
- MAIL_LIMIT=70 # docker image default is 50
ports:
- "1080:1080"
- "1025:1025"
db_test:
build:
context: ./docker/database
container_name: crm.db_test
env_file:
- ./docker/database/.env
ports:
- "3309:3306"