Update run

Set default port to 8080 when app runs.
Can be overridden via config file if necessary.
This commit is contained in:
Josh Stark 2019-04-04 10:43:31 +01:00 committed by GitHub
parent ac67acd453
commit 76af0761dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
exec \
s6-setuidgid abc /usr/bin/java -Dfleet.config.base=/config -jar /app/fleet/fleet.jar
s6-setuidgid abc /usr/bin/java -Dfleet.config.base=/config -Dfleet.app.port=8080 -jar /app/fleet/fleet.jar