-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
80 lines (77 loc) · 2.64 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
version: "3"
services:
cms:
image: docker.apa-it.at/gentics/cms:5.45.8
restart: on-failure
volumes:
- cms-node:/Node/node
- cms-dbfiles:/Node/node/content/dbfiles
- cms-bundles:/Node/node/system/bundles
- ./cms/conf.d:/Node/etc/conf.d
- ./cms/packages:/Node/node/content/packages:cached
environment:
JAVA_XMS: 512m
JAVA_XMX: 512m
NODE_USER_PASSWORD: "node"
NODE_DB_USER: root
NODE_DB_PASSWORD: ""
NODE_DB_HOST: db
depends_on:
db:
condition: service_started
db:
image: docker.apa-it.at/mariadb:10.3
command: mysqld --innodb-flush-method=fsync --sql-mode=""
volumes:
- ./db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d:ro
- ./db/conf.d:/etc/mysql/conf.d:ro
- db-data:/var/lib/mysql
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
MYSQL_ROOT_PASSWORD: ""
# https://hub.docker.com/r/gentics/mesh/
# mesh:
# # https://getmesh.io/docs/administration-guide.html#_environment_variables
# image: docker.apa-it.at/gentics/mesh:1.8.5
# volumes:
# - mesh-data:/mesh/data
# - mesh-config:/config
# - ./mesh/plugins/:/plugins/
# ulimits:
# nofile:
# soft: 262144
# hard: 262144
# environment:
# JAVA_TOOL_OPTIONS: "-Xms384m -Xmx384m -XX:MaxDirectMemorySize=128m -Dstorage.diskCache.bufferSize=128"
# MESH_BINARY_DIR: "/mesh/data/uploads"
# MESH_GRAPH_DB_DIRECTORY: "/mesh/data/graphdb"
# MESH_AUTH_KEYSTORE_PATH: "/config/keystore.jceks"
# MESH_GRAPH_BACKUP_DIRECTORY: "/mesh/data/backups"
# MESH_ELASTICSEARCH_URL: "http://elasticsearch:9200"
# MESH_ELASTICSEARCH_START_EMBEDDED: "false"
# MESH_UPDATECHECK: "false"
# tomcat:
# image: tomcat:8.5
# command: ["catalina.sh", "jpda", "run"]
# # activiti.war is the output from building the Activiti webapp.
# # See: https://www.gentics.com/Content.Node/guides/activiti_configuration.html
# # If running acitiviti from another docker-compose file, get the IP of the CMS container using
# # docker inspect ACTIVITI_CONTAINER and use the gateway address (=host)
# # Do the same thing for the CMS container to get the host address there and be adle to configure
# # the activiti IP.
# volumes:
# - ./activiti/activiti.war:/usr/local/tomcat/webapps/activiti.war
# - ./activiti/gentics-activiti.properties:/Node/etc/gentics-activiti.properties
volumes:
cms-node:
driver: local
cms-dbfiles:
driver: local
cms-bundles:
driver: local
db-data:
driver: local
mesh-config:
driver: local
mesh-data:
driver: local