Skip to content

custom_dc local build issues #4009

@bkosuru

Description

@bkosuru

Hello,

I am having issues with custom_dc local build
I did a local build

docker build --tag datacommons-website-compose:latest \
-f build/web_compose/Dockerfile \
-t website-compose .

Had to add a Zscaler cert to Dockerfile and then build was successful.

docker run -it \
--pull=always \
--env-file $PWD/custom_dc/sqlite_env.list \
-p 8080:8080 \
-e DEBUG=true \
-v $PWD/custom_dc/sample:/userdata \
-v $PWD/server:/workspace/server \
datacommons-website-compose:latest

docker: Error response from daemon: pull access denied for website-compose, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.

I removed "--pull=always " and then I was able to run the container.

http://127.0.0.1:8080/admin/ - page is empty

I also noticed these error messages

[2024-03-07 15:59:50.261][9][warning][main] [external/envoy/source/server/server.cc:506] No admin address given, so no admin HTTP server started.

【16:00:04】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:04] "GET /admin/ HTTP/1.1" 200 -
【16:00:04】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:04] "GET /css/admin.min.css HTTP/1.1" 404 -
【16:00:04】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:04] "GET /admin.js?t=None-None HTTP/1.1" 404 -
【16:00:06】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:06] "GET /admin/ HTTP/1.1" 200 -
【16:00:06】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:06] "GET /css/admin.min.css HTTP/1.1" 404 -
【16:00:06】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:00:06] "GET /admin.js?t=None-None HTTP/1.1" 404 -
【16:02:01】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:02:01] "GET / HTTP/1.1" 200 -
【16:02:01】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:02:01] "GET /css/static.min.css?t=None-None HTTP/1.1" 404 -
【16:02:01】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:02:01] "GET /custom_dc/custom/overrides.css HTTP/1.1" 404 -
【16:02:01】【INFO】【 _internal.py:96 】 192.168.65.1 - - [07/Mar/2024 16:02:01] "GET /custom_dc/custom/logo.png HTTP/1.1" 404 -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions