Commit aec0169 Tomasz Stalka
committed
1 parent e6e7a1e commit aec0169 Copy full SHA for aec0169
File tree 4 files changed +4016
-0
lines changed
4 files changed +4016
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM google/debian:wheezy
2
+
3
+ ADD openmrs-runtime.properties /var/lib/tomcat7/openmrs-runtime.properties
4
+ ADD run.sh /root/run.sh
5
+ ADD openmrs_dump.sql /root/openmrs_dump.sql
6
+
7
+ RUN apt-get update; \
8
+ apt-get install -y curl openjdk-7-jre tomcat7; \
9
+ curl -L http://sourceforge.net/projects/openmrs/files/releases/OpenMRS_1.9.7/openmrs.war/download \
10
+ -o /var/lib/tomcat7/webapps/openmrs.war; \
11
+ mkdir /var/lib/OpenMRS; \
12
+ mkdir /usr/share/tomcat7/.OpenMRS; \
13
+ mkdir /usr/share/tomcat7/.OpenMRS/modules; \
14
+ curl -L http://modules.openmrs.org/modulus/api/releases/1138/download/webservices.rest-omod-2.9.omod \
15
+ -o /usr/share/tomcat7/.OpenMRS/modules/webservices.rest-omod-2.9.omod; \
16
+ apt-get install -y mysql-server; \
17
+ chown tomcat7:tomcat7 /var/lib/tomcat7/openmrs-runtime.properties /var/lib/OpenMRS /usr/share/tomcat7/.OpenMRS; \
18
+ chmod +x /root/run.sh
19
+
20
+ EXPOSE 8080
21
+
22
+ CMD ["/root/run.sh" ]
Original file line number Diff line number Diff line change
1
+ # ## Database connection properties
2
+ connection.username =root
3
+ connection.password =test
4
+ connection.url =jdbc:mysql://localhost:3306/openmrs?autoReconnect=true
5
+ auto_update_database =true
6
+ module.allow_web_admin =true
You can’t perform that action at this time.
0 commit comments