forked from iamluc/dunkerque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (49 loc) · 1.27 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
55
56
57
app:
image: iamluc/symfony
container_name: dunkerque
volumes:
- .:/var/www/html
# To speed up composer
#- ~/.composer:/var/www/.composer
environment:
- DOCKER_ENV=dev
ports:
# Adapt to you need
- 8000:80
links:
- mariadb:db
- rabbitmq:rabbitmq
# Uncomment lines below to enable Blackfire
# You have to export env variables (BLACKFIRE_SERVER_ID and BLACKFIRE_SERVER_TOKEN) before running docker-compose
# - blackfire:blackfire
#
#blackfire:
# image: blackfire/blackfire
# environment:
# - BLACKFIRE_SERVER_ID
# - BLACKFIRE_SERVER_TOKEN
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: dunkerque_phpmyadmin
links:
- mariadb:db
mariadb:
image: mariadb:10
environment:
- MYSQL_ROOT_PASSWORD=dkpassword
rabbitmq:
image: rabbitmq:3-management
environment:
- RABBITMQ_DEFAULT_USER=dunkerque
- RABBITMQ_DEFAULT_PASS=dkpassword
ports:
- 15672:15672
workerwebhook:
image: iamluc/symfony
volumes_from:
- app
links:
- rabbitmq:rabbitmq
environment:
- SYMFONY_ENV=dev
command: sleep 5 && app/console dunkerque:broker:setup && app/console swarrot:consume:webhook