james h
07/30/2018, 4:17 PMdivyendu
07/30/2018, 5:06 PMdivyendu
07/30/2018, 5:06 PMjames h
07/30/2018, 5:25 PMjames h
07/30/2018, 5:26 PMjames h
07/30/2018, 5:27 PMdivyendu
07/30/2018, 5:33 PMjames h
07/30/2018, 6:19 PM/run/secrets/
so putting them in environment variables is trickydivyendu
07/30/2018, 6:38 PMprisma.yml
and docker-compose.yml
files support .env files
https://docs.docker.com/compose/env-file/james h
07/30/2018, 6:47 PMPRISMA_CONFIG
from a secrets file.james h
07/30/2018, 6:48 PMprisma.yml
file but I have no idea where it's supposed to go or how I can specify its location because the prisma documentation only talks about setting this PRISMA_CONFIG
env variabledivyendu
07/30/2018, 7:02 PMdocker-compose.yml
documentation!
=> https://docs.docker.com/compose/env-file/#syntax-rulesjames h
07/30/2018, 7:35 PMdivyendu
07/30/2018, 8:00 PMjames h
07/30/2018, 9:10 PMPOSTGRES_USER_FILE: /run/secrets/postgres_user
as an environment variable in the docker-compose.yml and it will slurp the contents of the file and use that as the POSTGRES_USER env variable.divyendu
07/30/2018, 9:21 PMjames h
07/30/2018, 9:27 PMdivyendu
07/30/2018, 9:37 PMjames h
07/30/2018, 9:45 PMjames h
07/30/2018, 9:45 PMdivyendu
07/30/2018, 9:46 PM