diff options
Diffstat (limited to 'aai-schema-service/src/main/docker')
-rw-r--r-- | aai-schema-service/src/main/docker/Dockerfile | 2 | ||||
-rw-r--r-- | aai-schema-service/src/main/docker/docker-entrypoint.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-schema-service/src/main/docker/Dockerfile b/aai-schema-service/src/main/docker/Dockerfile index 53d272e..f15288f 100644 --- a/aai-schema-service/src/main/docker/Dockerfile +++ b/aai-schema-service/src/main/docker/Dockerfile @@ -15,7 +15,7 @@ ENTRYPOINT ["/bin/bash", "/opt/app/aai-schema-service/docker-entrypoint.sh"] RUN mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-SCHEMA-SERVICE -VOLUME /opt/aai/logroot/AAI-SCHEMA-SERVICE +VOLUME /opt/aai/logroot/AAI-SS VOLUME /tmp VOLUME /opt/tools diff --git a/aai-schema-service/src/main/docker/docker-entrypoint.sh b/aai-schema-service/src/main/docker/docker-entrypoint.sh index 8723971..09f7943 100644 --- a/aai-schema-service/src/main/docker/docker-entrypoint.sh +++ b/aai-schema-service/src/main/docker/docker-entrypoint.sh @@ -44,7 +44,7 @@ find /opt/app/ -name "*.sh" -exec chmod +x {} + if [ -f ${APP_HOME}/aai.sh ]; then gosu aaiadmin ln -s bin scripts - gosu aaiadmin ln -s /opt/aai/logroot/AAI-SCHEMA-SERVICE logs + gosu aaiadmin ln -s /opt/aai/logroot/AAI-SS logs mv ${APP_HOME}/aai.sh /etc/profile.d/aai.sh chmod 755 /etc/profile.d/aai.sh |