forked from solop-develop/proxy-adempiere-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
54 lines (52 loc) · 1.49 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
version: '3.0'
services:
es7:
container_name: sfa_elasticsearch
build: docker/elasticsearch7/
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./docker/elasticsearch7/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
ports:
- '9200:9200'
- '9300:9300'
environment:
- discovery.type=single-node
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xmx512m -Xms512m"
redis:
container_name: sfa_redis
image: 'redis:4-alpine'
ports:
- '6379:6379'
# app:
# # image: erpya/proxy-adempiere-api:latest
# build:
# context: .
# dockerfile: docker/proxy-api/Dockerfile
# depends_on:
# - es7
# - redis
# env_file: docker/proxy-api/default.env
# environment:
# VS_ENV: dev
# volumes:
# - './config:/var/www/config'
# - './ecosystem.json:/var/www/ecosystem.json'
# - './migrations:/var/www/migrations'
# - './package.json:/var/www/package.json'
# - './babel.config.js:/var/www/babel.config.js'
# - './tsconfig.json:/var/www/tsconfig.json'
# - './nodemon.json:/var/www/nodemon.json'
# - './graphql-schema-linter.config.js:/var/www/graphql-schema-linter.config.js'
# - './scripts:/var/www/scripts'
# - './src:/var/www/src'
# - './var:/var/www/var'
# - './packages:/var/www/packages'
# tmpfs:
# - /var/www/dist
# ports:
# - '8080:8080'