forked from akeneo/pim-community-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (87 loc) · 2.11 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3'
services:
fpm:
image: 'akeneo/fpm:php-7.2'
user: 'docker'
volumes:
- './:/srv/pim'
working_dir: '/srv/pim'
networks:
- 'akeneo'
- 'behat'
node:
image: 'akeneo/node:10'
user: 'node'
volumes:
- './:/srv/pim'
working_dir: '/srv/pim'
networks:
- 'akeneo'
- 'behat'
selenium:
image: 'selenium/standalone-firefox-debug:2.53.1-beryllium'
volumes:
- './:/srv/pim:ro'
networks:
- 'behat'
httpd:
image: 'httpd:2.4'
depends_on:
- 'fpm'
ports:
- '${DOCKER_PORT_HTTP}:80'
volumes:
- './:/srv/pim:ro'
- './docker/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro'
- './docker/akeneo.conf:/usr/local/apache2/conf/vhost.conf:ro'
networks:
- 'akeneo'
httpd-behat:
image: 'httpd:2.4'
depends_on:
- 'fpm'
ports:
- '${DOCKER_PORT_HTTP_BEHAT}:80'
volumes:
- './:/srv/pim:ro'
- './docker/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro'
- './docker/akeneo-behat.conf:/usr/local/apache2/conf/vhost.conf:ro'
networks:
- 'behat'
mysql:
image: 'mysql:5.7'
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_USER: 'akeneo_pim'
MYSQL_PASSWORD: 'akeneo_pim'
MYSQL_DATABASE: 'akeneo_pim'
networks:
- 'akeneo'
mysql-behat:
image: 'mysql:5.7'
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_USER: 'akeneo_pim'
MYSQL_PASSWORD: 'akeneo_pim'
MYSQL_DATABASE: 'akeneo_pim'
networks:
- 'behat'
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.4'
environment:
ES_JAVA_OPTS: '${ES_JAVA_OPTS:--Xms512m -Xmx512m}'
discovery.type: 'single-node'
networks:
- 'akeneo'
- 'behat'
object-storage:
image: 'minio/minio'
entrypoint: '/bin/sh -c "mkdir -p /data/archive /data/catalog/ /data/jobs && minio server /data"'
environment:
MINIO_ACCESS_KEY: 'AKENEO_OBJECT_STORAGE_ACCESS_KEY'
MINIO_SECRET_KEY: 'AKENEO_OBJECT_STORAGE_SECRET_KEY'
networks:
- akeneo
networks:
akeneo:
behat: