-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix(docker): failed to build image on Mac M1 #91
Conversation
056ad26
to
9987d8c
Compare
@ZonaHex PTAL. It seems we don't have remove image optimisations using this. |
9987d8c
to
ad489f5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should update README if 'docker run' does not works well without db in docker.
docker run --rm --name greptimedb-dashboard \ | ||
-e GREPTIMEDB_HTTP_HOST=127.0.0.1 \ | ||
-e GREPTIMEDB_HTTP_PORT=4000 \ | ||
-e NGINX_PORT=8080 \ | ||
--network host \ | ||
-p 8080:8080 \ | ||
greptime/greptimedb-dashboard:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we don't run db in docker, we can't access db in PC.
location /api/ { | ||
proxy_pass http://${GREPTIMEDB_HTTP_HOST}:${GREPTIMEDB_HTTP_PORT}/; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this works.
Reference