Skip to content

Commit

Permalink
change to yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Wiedemann committed Feb 17, 2016
1 parent d09f6a6 commit 7d8ce0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .openshift/action_hooks/start
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ export JAVA_HOME=$OPENSHIFT_DATA_DIR/jdk1.8.0_65
export PATH=$JAVA_HOME/bin:$PATH

cd $OPENSHIFT_REPO_DIR
nohup java -Xms384m -Xmx412m -jar build/libs/*.jar --server.port=${OPENSHIFT_DIY_PORT} --server.address=${OPENSHIFT_DIY_IP} --spring.profiles.active=openshift &
nohup java -Xms384m -Xmx412m -jar build/libs/*.jar --spring.profiles.active=openshift &
1 change: 0 additions & 1 deletion src/main/resources/application.properties

This file was deleted.

15 changes: 15 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
server:
port: 11801

---

spring:
profiles: openshift
logging:
file: ${OPENSHIFT_LOG_DIR}/app.log

server:
port: ${OPENSHIFT_DIY_PORT}
address: ${OPENSHIFT_DIY_IP}


0 comments on commit 7d8ce0d

Please sign in to comment.