Run DFC docker container as a non-root user
Change-Id: I82504ebebc8ddf48f6ee6b1c1dfbe433c60ab1aa
Issue-ID: DCAEGEN2-1269
Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
diff --git a/datafile-app-server/config/application.yaml b/datafile-app-server/config/application.yaml
index b66f7b6..f253857 100644
--- a/datafile-app-server/config/application.yaml
+++ b/datafile-app-server/config/application.yaml
@@ -16,6 +16,6 @@
org.springframework.data: ERROR
org.springframework.web.reactive.function.client.ExchangeFunctions: ERROR
org.onap.dcaegen2.collectors.datafile: ERROR
- file: opt/log/application.log
+ file: /var/log/ONAP/application.log
app:
- filepath: config/datafile_endpoints.json
+ filepath: /opt/app/datafile/config/datafile_endpoints.json