-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
110 lines (97 loc) · 3.43 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
98
99
100
101
102
103
104
105
106
107
108
109
110
version: '2'
services:
proxynuxeo:
build: ./proxy
links:
- nuxeo
depends_on:
- nuxeo
ports:
- "80:80"
- "443:443"
# postgres:
# build: ./postgres
# ports:
# - "5432:5432"
# environment:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# volumes:
# - data-postgres:/var/lib/postgres/data
mysql:
build: ./mysql
ports:
- "3306:3306"
volumes:
- data-mysql:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=admin4infra
- MYSQL_DATABASE=nuxeo
- MYSQL_USER=nuxeo
- MYSQL_PASSWORD=nuxeo
elasticsearch:
image: elasticsearch:1.5
ports:
- "9200:9200"
- "9300:9300"
volumes:
- ./elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/conf/elasticsearch.yml
- data-elasticsearch:/usr/share/elasticsearch/data
redis:
image: redis
ports:
- "6379:6379"
volumes:
- data-redis:/data
nuxeo:
build: ./nuxeo
ports:
- "8080:8080"
links:
- redis
- mysql # postgres or mysql
- elasticsearch
depends_on:
- redis
- mysql # postgres or mysql
- elasticsearch
volumes:
- data-nuxeo:/var/lib/nuxeo/data
- ./nuxeo/nuxeo.conf:/nuxeo.conf
# - ./nuxeo/repositories/datasources-arizona-config.xml:/opt/nuxeo/server/nxserver/config/datasources-arizona-config.xml
# - ./nuxeo/repositories/datasources-boticario-config.xml:/opt/nuxeo/server/nxserver/config/datasources-boticario-config.xml
# - ./nuxeo/repositories/repository-arizona-config.xml:/opt/nuxeo/server/nxserver/config/repository-arizona-config.xml
# - ./nuxeo/repositories/repository-boticario-config.xml:/opt/nuxeo/server/nxserver/config/repository-boticario-config.xml
# - ./nuxeo/repositories/elasticsearch-config.xml.nxftl:/opt/nuxeo/server/templates/common-base/nxserver/config/elasticsearch-config.xml.nxftl
environment:
NUXEO_DB_TYPE: mysql # postgresql or mysql
NUXEO_DB_HOST: mysql
NUXEO_DB_NAME: nuxeo
NUXEO_DB_USER: nuxeo
NUXEO_DB_PASSWORD: nuxeo
NUXEO_REDIS_HOST: redis
NUXEO_REDIS_PORT: 6379
NUXEO_ES_HOSTS: elasticsearch:9300
NUXEO_ES_CLUSTER_NAME: elasticsearch
NUXEO_ES_INDEX_NAME: nuxeo_default
NUXEO_ES_REPLICAS: 0
NUXEO_ES_SHARDS: 5
NUXEO_PACKAGES: "nuxeo-web-ui nuxeo-diff nuxeo-spreadsheet nuxeo-dam nuxeo-template-rendering openid-authentication" # nuxeo-web-mobile nuxeo-drive nuxeo-template-rendering-samples nuxeo-showcase-content
LOCAL_PACKAGES: "/tmp/packages/amazon-s3-online-storage-1.7.2.zip /tmp/packages/nuxeo-multi-tenant-1.6.3.zip"
# LOCAL_PACKAGES: "/tmp/packages/nuxeo-diff-1.7.2.zip /tmp/packages/nuxeo-spreadsheet-1.2.2.zip /tmp/packages/nuxeo-dam-6.2.2.zip /tmp/packages/nuxeo-template-rendering-6.6.2.zip /tmp/packages/openid-authentication-1.1.2.zip /tmp/packages/amazon-s3-online-storage-1.7.2.zip /tmp/packages/nuxeo-multi-tenant-1.6.2.zip" # /tmp/packages/nuxeo-extensions-package-1.1-SNAPSHOT.zip
#### ATENCAO: amazon-s3-online-storage - Requer registro no Nuxeo
NUXEO_S3_REGION: sa-east-1
NUXEO_S3_BUCKET: teste-nuxeo
NUXEO_S3_ID: AKIAI2MY6I73CJ2IEAEQ
NUXEO_S3_SECRET: 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
volumes:
data-postgres:
driver: local
data-mysql:
driver: local
data-nuxeo:
driver: local
data-elasticsearch:
driver: local
data-redis:
driver: local