summaryrefslogtreecommitdiff
path: root/opendc-web
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web')
-rw-r--r--opendc-web/opendc-web-runner/Dockerfile2
-rw-r--r--opendc-web/opendc-web-server/src/main/resources/application-docker.properties8
-rw-r--r--opendc-web/opendc-web-server/src/main/resources/application-prod.properties2
3 files changed, 6 insertions, 6 deletions
diff --git a/opendc-web/opendc-web-runner/Dockerfile b/opendc-web/opendc-web-runner/Dockerfile
index d00c53fc..3c575c9e 100644
--- a/opendc-web/opendc-web-runner/Dockerfile
+++ b/opendc-web/opendc-web-runner/Dockerfile
@@ -15,7 +15,7 @@ COPY --from=0 /app/opendc-web/opendc-web-runner/build/install /opt/
COPY --from=0 /app/opendc-experiments/opendc-experiments-base/src/test/resources/workloadTraces \
/opt/opendc/traces
WORKDIR /opt/opendc
-CMD bin/opendc-web-runner
+CMD /opt/opendc-web-runner/bin/opendc-runner
LABEL org.opencontainers.image.authors="OpenDC Maintainers <opendc@atlarge-research.com>"
LABEL org.opencontainers.image.url="https://opendc.org"
diff --git a/opendc-web/opendc-web-server/src/main/resources/application-docker.properties b/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
index 3a9dce27..f0b3e7dc 100644
--- a/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
+++ b/opendc-web/opendc-web-server/src/main/resources/application-docker.properties
@@ -46,7 +46,7 @@ quarkus.smallrye-openapi.oidc-open-id-connect-url=https://${OPENDC_AUTH0_DOMAIN:
quarkus.smallrye-openapi.servers=https://api.opendc.org
# Enable the settings below if you want to test the docker-compose deployment locally
-quarkus.hibernate-orm.database.generation=drop-and-create
-quarkus.resteasy.path=/api
-quarkus.oidc.enabled=false
-opendc.security.enabled=false
+#quarkus.hibernate-orm.database.generation=drop-and-create
+#quarkus.resteasy.path=/api
+#quarkus.oidc.enabled=false
+#opendc.security.enabled=false
diff --git a/opendc-web/opendc-web-server/src/main/resources/application-prod.properties b/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
index fe997fc0..835148f8 100644
--- a/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
+++ b/opendc-web/opendc-web-server/src/main/resources/application-prod.properties
@@ -26,7 +26,7 @@ quarkus.datasource.jdbc.url=jdbc:h2:file:./data/opendc;DB_CLOSE_DELAY=-1;INIT=CR
quarkus.hibernate-orm.dialect=org.hibernate.dialect.H2Dialect
# Disable authentication
-opendc.security.enabled=false
+opendc.security.enabled=true
quarkus.oidc.enabled=${opendc.security.enabled}
# Mount web UI at root and API at "/api"