File tree 3 files changed +8
-9
lines changed
3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
1
FROM payara/server-full
2
2
3
3
COPY target/postgresql.jar /tmp
4
- COPY target/cargo-tracker.war $DEPLOY_DIR
5
-
6
- RUN echo 'add-library /tmp/postgresql.jar' > $POSTBOOT_COMMANDS
4
+ COPY target/cargo-tracker.war /tmp
5
+ COPY post-boot-commands.asadmin /opt/payara/config/
Original file line number Diff line number Diff line change 39
39
<junit .version>4.13.1</junit .version>
40
40
<hamcrest .version>2.2</hamcrest .version>
41
41
<assertj .version>3.18.1</assertj .version>
42
-
43
- <!-- Application properties -->
44
- <webapp .graphTraversalUrl>
45
- http://localhost:8080/cargo-tracker/rest/graph-traversal/shortest-path
46
- </webapp .graphTraversalUrl>
47
42
</properties >
48
43
49
44
<dependencyManagement >
174
169
<activeByDefault >true</activeByDefault >
175
170
</activation >
176
171
<properties >
177
- <payara .version>5.2021.2</payara .version>
172
+ <payara .version>5.2021.2</payara .version>
173
+ <!-- Application properties -->
174
+ <webapp .graphTraversalUrl>http://localhost:8080/cargo-tracker/rest/graph-traversal/shortest-path</webapp .graphTraversalUrl>
178
175
<db .driverClass>org.h2.jdbcx.JdbcDataSource</db .driverClass>
179
176
<!-- H2 file engine requires an absolute path, eg. ~/name, ./name or a full-qualified
180
177
path name (it should include driver name under Windows). -->
269
266
</activation >
270
267
<properties >
271
268
<payara .version>5.2021.2</payara .version>
269
+ <webapp .graphTraversalUrl>http://localhost:8080/rest/graph-traversal/shortest-path</webapp .graphTraversalUrl>
272
270
<db .driverClass>org.postgresql.ds.PGPoolingDataSource</db .driverClass>
273
271
<!-- Pass in via command line (e.g. mvn clean package -Pcloud -DpostgreSqlJdbcUrl=jdbc:postgresql://localhost:5432/postgres?user=postgres). -->
274
272
<db .jdbcUrl>${postgreSqlJdbcUrl} </db .jdbcUrl>
Original file line number Diff line number Diff line change
1
+ add-library /tmp/postgresql.jar
2
+ deploy --name cargo-tracker --contextroot / /tmp/cargo-tracker.war
You can’t perform that action at this time.
0 commit comments