@@ -37,6 +37,7 @@ services:
37
37
volumes :
38
38
- ' service-config:/config'
39
39
depends_on : [log]
40
+ command : ["/wait-for-postgres.sh", "/run.sh"]
40
41
41
42
referencedata :
42
43
restart : always
@@ -48,18 +49,20 @@ services:
48
49
volumes :
49
50
- ' service-config:/config'
50
51
depends_on : [log]
52
+ command : ["/wait-for-postgres.sh", "/run.sh"]
51
53
52
54
auth :
53
55
restart : always
54
56
image : openlmis/auth:${OL_AUTH_VERSION}
55
57
env_file : settings.env
56
58
environment :
57
- JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml'
59
+ JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml -Dflyway.locations=classpath:db/migration,filesystem:/demo-data '
58
60
spring_profiles_active : ${spring_profiles_active}
59
61
volumes :
60
62
- ' service-config:/config'
61
63
- ' auth-tomcat-log:/var/log/auth-tomcat'
62
64
depends_on : [log]
65
+ command : ["/wait-for-postgres.sh", "/run.sh"]
63
66
64
67
notification :
65
68
restart : always
@@ -71,17 +74,19 @@ services:
71
74
volumes :
72
75
- ' service-config:/config'
73
76
depends_on : [log]
77
+ command : ["/wait-for-postgres.sh", "/run.sh"]
74
78
75
79
fulfillment :
76
80
restart : always
77
81
image : openlmis/fulfillment:${OL_FULFILLMENT_VERSION}
78
82
env_file : settings.env
79
83
environment :
80
- JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml'
84
+ JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml -Dflyway.locations=classpath:db/migration,filesystem:/demo-data '
81
85
spring_profiles_active : ${spring_profiles_active}
82
86
volumes :
83
87
- ' service-config:/config'
84
88
depends_on : [log]
89
+ command : ["/wait-for-postgres.sh", "/run.sh"]
85
90
86
91
cce :
87
92
restart : always
@@ -93,29 +98,32 @@ services:
93
98
volumes :
94
99
- ' service-config:/config'
95
100
depends_on : [log]
101
+ command : ["/wait-for-postgres.sh", "/run.sh"]
96
102
97
103
stockmanagement :
98
104
restart : always
99
105
image : openlmis/stockmanagement:${OL_STOCKMANAGEMENT_VERSION}
100
106
env_file : settings.env
101
107
environment :
102
- JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml'
108
+ JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml -Dflyway.locations=classpath:db/migration,filesystem:/demo-data '
103
109
spring_profiles_active : ${spring_profiles_active}
104
110
volumes :
105
111
- ' service-config:/config'
106
112
depends_on : [log]
113
+ command : ["/wait-for-postgres.sh", "/run.sh"]
107
114
108
115
report :
109
116
restart : always
110
117
image : openlmis/report:${OL_REPORT_VERSION}
111
118
env_file : settings.env
112
119
environment :
113
- JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml'
120
+ JAVA_OPTS : ' -server -Xmx512m -Dlogging.config=/config/log/logback.xml -Dflyway.locations=classpath:db/migration,filesystem:/demo-data '
114
121
spring_profiles_active : ${spring_profiles_active}
115
122
volumes :
116
123
- ' service-config:/config'
117
124
depends_on : [log]
118
-
125
+ command : ["/wait-for-postgres.sh", "/run.sh"]
126
+
119
127
diagnostics :
120
128
restart : always
121
129
image : openlmis/diagnostics:${OL_DIAGNOSTICS_VERSION}
0 commit comments