forked from camunda-consulting/showroom-customer-onboarding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
18 lines (13 loc) · 790 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM docker.consulting.camunda.com/customized-wildfly
# remove default example
RUN rm -rf /camunda/standalone/deployments/camunda-example-invoice-*.war
#ADD ~/.camunda/ /root/
# add showcase
ADD target/camunda-showcase-insurance-application.war /camunda/standalone/deployments/
# increase default session timeout to 8h and deployment timeout to 15min
RUN /camunda/bin/jboss-cli.sh --commands="embed-server, \
/subsystem=undertow/servlet-container=default:write-attribute(name=default-session-timeout, value=480), \
/system-property=jboss.as.management.blocking.timeout:add(value=900), \
/subsystem=deployment-scanner/scanner=default:write-attribute(name=deployment-timeout,value=900)"
EXPOSE 8787
CMD ["/camunda/bin/standalone.sh","-b","0.0.0.0","-bmanagement","0.0.0.0","--debug"]