Skip to content

Commit 1d1df02

Browse files
move config to a different repo (#27)
* move config to a different repo * doing * Fix routing * Fix tests * Format * allow not logging * allow not logging --------- Co-authored-by: FERNANDEZ BOADA Daniel <daniel.boada@soprasteria.com>
1 parent e52dcf7 commit 1d1df02

30 files changed

Lines changed: 373 additions & 8438 deletions

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ RUN pip install gunicorn
5555

5656
# Copy backend + config + modules
5757
COPY src/openscada_lite ./openscada_lite
58-
COPY config ./config
5958

6059
# Copy built frontends from previous stage
6160
COPY --from=frontend /app/openscada_lite/web/scada/static/frontend/dist ./openscada_lite/web/scada/static/frontend/dist
@@ -64,6 +63,6 @@ COPY --from=frontend /app/openscada_lite/web/security_editor/static/frontend/dis
6463

6564
# Expose port (optional, Render uses $PORT)
6665
EXPOSE 5443
67-
ENV SCADA_CONFIG_PATH=/app/config
68-
ENV LOGGING_CONFIG_PATH=/app/config/logging_config.json
66+
VOLUME /config
67+
ENV SCADA_CONFIG_PATH=/config
6968
CMD ["uvicorn", "openscada_lite.app:asgi_app", "--host", "0.0.0.0", "--port", "5443"]

config/camera_gis_system_config.json

Lines changed: 0 additions & 263 deletions
This file was deleted.

config/security_config.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)