forked from webgriffe/esb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (35 loc) · 868 Bytes
/
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
version: '3.4'
services:
php:
build:
context: .
env_file:
- .env
environment:
- PHP_DATE_TIMEZONE=${PHP_DATE_TIMEZONE:-UTC}
ports:
- "${ESB_CONSOLE_PORT}:${ESB_CONSOLE_PORT}"
- "${ESB_HTTP_SERVER_PORT}:${ESB_HTTP_SERVER_PORT}"
volumes:
- .:/srv/esb:rw,cached
working_dir: /srv/esb
depends_on:
- beanstalkd
- mailhog
- elasticsearch
command: "bin/esb"
beanstalkd:
image: schickling/beanstalkd
mailhog:
image: mailhog/mailhog
ports:
- "${MAILHOG_WEB_PORT_HOST}:8025"
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch-oss:7.8.0"
env_file:
- .env
environment:
- "discovery.type=${ES_DISCOVERY_TYPE:-single-node}"
- "ES_JAVA_OPTS=${ES_JAVA_OPTS:--Xms512m -Xmx512m}"
ports:
- "${ES_PORT_HOST}:9200"