Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom_dc local build issues #4009

Open
bkosuru opened this issue Mar 7, 2024 · 1 comment
Open

custom_dc local build issues #4009

bkosuru opened this issue Mar 7, 2024 · 1 comment

Comments

@bkosuru
Copy link

bkosuru commented Mar 7, 2024

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 -

@bkosuru
Copy link
Author

bkosuru commented Mar 11, 2024

To fix the issues, in web_server/Dockerfile, removed "--omit=dev"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant