Run :
docker run -p 18080:18080 -v pwd/ehour.properties:/ehour/conf/ehour.properties --rm meera/timesheet
example ehour.properties config:
ehour.standalone.port=18080
# derby, mysql and postgresql are supported. When derby is selected you can ignore the ehour.database lines
ehour.database=postgresql
# for mysql uncomment the following lines (and make sure postgresql lines below are commented out)
#ehour.database.driver=com.mysql.jdbc.Driver
#ehour.database.url=jdbc:mysql://127.0.0.1:3306/ehour?zeroDateTimeBehavior=convertToNull&
#ehour.database.username=
#ehour.database.password=
# for postgresql uncomment the following lines (and make sure mysql lines above are commented out)
ehour.database.driver=org.postgresql.Driver
ehour.database.url=jdbc:postgresql://127.0.0.1:5432/ehour
ehour.database.username=ehour
ehour.database.password=ehour
ehour.configurationType=DEVELOPMENT
ehour.translations=../eHour-wicketweb/src/dist/i18n
#ehour.disableAuth=true
ehour.enableOAuth=true
ehour.oauth2.callbackURI=/oauth2/callback
ehour.oauth2.hostURL=http://localhost:18080/eh
ehour.oauth2.name=Slack
ehour.oauth2.userAuthorizationUri=https://slack.com/oauth/authorize
ehour.oauth2.accessTokenUri=https://slack.com/api/oauth.access
ehour.oauth2.clientID=xxxxxxxx
ehour.oauth2.clientSecret=xxxxxxxx
ehour.oauth2.scope=identity.basic identity.email
#ehour.oauth2.userAuthorizationUri=http://sso-dex:5556/dex/auth
#ehour.oauth2.accessTokenUri=http://sso-dex:5556/dex/token
#ehour.oauth2.clientID=xxxxxx
#ehour.oauth2.clientSecret=xxxxx
#ehour.oauth2.scope=profile email openid
#ehour.enableBookWholeWeek=false
# enable/disable mail, defaults to true
ehour.enableMail=false
Content type
Image
Digest
Size
275 MB
Last updated
about 8 years ago
docker pull meera/timesheet