You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying all day recently to add this ALLOWED_FRAME_URLS variable, but so far with no success.
As a beginner of Docker, I thought it was a normal environment variable at first, but after reading the documentation, it turned out not to be the case.
The last method I tried so far is as follows:
Create a Dockerfile with the following content:
FROM ghcr.io/umami-software/umami:postgresql-v2.13.2
ARG ALLOWED_FRAME_URLS=*
RUN echo "ALLOWED_FRAME_URLS: $ALLOWED_FRAME_URLS"
Because the default parameters have been given, execute the command directly: docker build --no-cache -t umami:inwind .
Redeploy
When building in step 2, ALLOWED_FRAME_URLS:* will be printed. I think this means it has been successful, but in fact it is not. frame-ancestors 'self' on my web page is still undefined
I want to ask, where might the problem lie now?
Do I have to add ARG ALLOWED_FRAME_URLS=* from the Dockerfile in the official git repository and build again?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been trying all day recently to add this
ALLOWED_FRAME_URLS
variable, but so far with no success.As a beginner of Docker, I thought it was a normal environment variable at first, but after reading the documentation, it turned out not to be the case.
The last method I tried so far is as follows:
Dockerfile
with the following content:docker build --no-cache -t umami:inwind .
When building in step 2,
ALLOWED_FRAME_URLS:*
will be printed. I think this means it has been successful, but in fact it is not.frame-ancestors 'self'
on my web page is stillundefined
I want to ask, where might the problem lie now?
Do I have to add
ARG ALLOWED_FRAME_URLS=*
from theDockerfile
in the official git repository and build again?Beta Was this translation helpful? Give feedback.
All reactions