Skip to content

Commit

Permalink
as
Browse files Browse the repository at this point in the history
  • Loading branch information
feborghi authored and feborghi committed May 9, 2024
1 parent 8d23791 commit e0f6593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ COPY ./docker/config/conf/* /usr/local/tomee/conf/

EXPOSE 80 443

# ENTRYPOINT [ "/init.sh" ]
ENTRYPOINT [ "/usr/local/tomee/init.sh" ]
5 changes: 1 addition & 4 deletions docker/layer/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@ export KEYSTORE_ALIAS=${KEYSTORE_ALIAS:-confighub}
export KEYSTORE_PASSWORD=${KEYSTORE_PASSWORD:-confighub}

echo "Initializing database..."
# java -jar /ConfigHubDBManager.jar -t "${DB_TYPE}" -r "${DB_URL}" -u"${DB_USERNAME}" -p"${DB_PASSWORD}" || exit $?

echo "Starting service..."
./bin/catalina.sh run
# java -jar /ConfigHubDBManager.jar -t "${DB_TYPE}" -r "${DB_URL}" -u"${DB_USERNAME}" -p"${DB_PASSWORD}" || exit $?

0 comments on commit e0f6593

Please sign in to comment.