-
Getting the following error for the http://{IP}:2020/api/info call |
Beta Was this translation helpful? Give feedback.
Answered by
damithcl
Apr 12, 2023
Replies: 1 comment 9 replies
-
Hi @damithcl was this happening rigth after you docker-composed' it up, or put differently, did it happen after you launched it? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @ludeknovy , I have tried with adding the permission to Dockerfile but was not successful.Permission changes anre not persisting in the docker volume . For example I have tried like ,
FROM timescale/timescaledb:2.4.1-pg13 USER root ENV POSTGRES_DB jtl_report COPY --chown=user:user schema.sql /docker-entrypoint-initdb.d/ RUN chmod -R 765 /docker-entrypoint-initdb.d/
Finally I got it done via manually executing the sql within the container.
psql -U postgres -d jtl_report -a -f /docker-entrypoint-initdb.d/schema.sql
There may be a issue with Ubuntu 18.04 docker permissions but I m not sure . It all works fine in 20.04.
Thanks a lot for your tremendous support on this :)