Is there a way to pass in PRISMA_CONFIG into docke...
# orm-help
j
Is there a way to pass in PRISMA_CONFIG into docker without compose? I have to use a GUI to access docker due to security restrictions and I can only pass in individual environment variables and the multiline string from the yml compose file doesn't work in a single line input for an environment variable. I've looked at this repo (https://github.com/akoenig/prisma-docker-compose/blob/master/.prisma.env) which uses some environment variables that do not work. After trying to use these env variables with my postgres database I get this error from Prisma:
Copy code
Unable to load Prisma config: java.lang.RuntimeException: No valid Prisma config could be loaded.
any ideas?
If anyone finds this and is interested, there is a prisma.yml in the root of the Docker container that holds the config and looks just like the config string. I was able to
COPY ./my-directory/config.yml prisma.yml
in my Prisma Dockerfile to alter the Prisma docker image itself to use a new default config.
If you have any questions on other steps feel free to reach out.