forked from akeneo/pim-community-standard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (36 loc) · 904 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
40
version: '2'
services:
fpm:
image: 'akeneo/fpm:php-7.2'
user: 'docker'
volumes:
- './:/srv/pim'
working_dir: '/srv/pim'
node:
image: 'juliensnz/node'
user: 'node'
volumes:
- './:/srv/pim'
working_dir: '/srv/pim'
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'
mysql:
image: 'mysql:5.7'
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_USER: 'akeneo_pim'
MYSQL_PASSWORD: 'akeneo_pim'
MYSQL_DATABASE: 'akeneo_pim'
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:5.5.3'
environment:
ES_JAVA_OPTS: '-Xms512m -Xmx512m'
discovery.type: 'single-node'