Gorodov Maksim
08/30/2018, 11:17 AMdocker-compose.yml
, but I saw only this:
=====> Container Information
Config dir: /var/lib/dokku/services/postgres/dailyq-database/config
Data dir: /var/lib/dokku/services/postgres/dailyq-database/data
Dsn: <postgres://postgres:5348449fdedeb909903f23c9d22cd786@dokku-postgres-dailyq-database:5432/dailyq_database>
Exposed ports: -
Id: f89f3a9702490a24c0ec20006a0f51583ef6e0963e4b0c553ee97028c1e77101
Internal ip: 172.17.0.2
Links: dailyq-api
Service root: /var/lib/dokku/services/postgres/dailyq-database
Status: running
Version: postgres:10.4
nilan
08/30/2018, 11:19 AMGorodov Maksim
08/30/2018, 11:27 AMGorodov Maksim
08/30/2018, 11:29 AMnilan
08/30/2018, 11:30 AMnilan
08/30/2018, 11:30 AMGorodov Maksim
08/30/2018, 11:39 AM.graphqlconfig.yml
?
I passed password as ${env:DATABASE_PASSWORD}
in config.yml
and set env variables like dokku config:set dailyq-api env:DATABASE_PASSWORD=""
but it throw this error: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
Gorodov Maksim
08/30/2018, 12:17 PMDockerfile
from this tutorial:
FROM prismagraphql/prisma:1.14
ARG PRISMA_CONFIG_PATH
ENV PRISMA_CONFIG_PATH prisma.yml
COPY config.yml prisma.yml
EXPOSE 4466
Should I change PRISMA_CONFIG_PATH
by myself? Or I should keep it like this?nilan
08/30/2018, 12:45 PMGorodov Maksim
08/30/2018, 12:48 PMGorodov Maksim
08/30/2018, 12:48 PMDATABASE_URL
dokku env variable, not to come up with yoursnilan
08/30/2018, 12:49 PMGorodov Maksim
08/30/2018, 12:49 PMGorodov Maksim
08/30/2018, 12:52 PMw0wka91
08/30/2018, 9:03 PMw0wka91
08/30/2018, 9:05 PMGorodov Maksim
08/31/2018, 3:27 AMGorodov Maksim
08/31/2018, 3:28 AMGorodov Maksim
08/31/2018, 3:28 AMsecret
from dokku env variable and just hardcoded it into prisma.yml
- nothing workedGorodov Maksim
08/31/2018, 3:30 AM[Metrics] No Prisma Cloud secret is set...
w0wka91
08/31/2018, 4:14 AMw0wka91
08/31/2018, 4:15 AMw0wka91
08/31/2018, 4:16 AMport: 4466
enableManagementApi: true
managementApiSecret: "mySecret"
databases:
default:
connector: postgres
host: dokku-postgres-prisma-server-db
port: 5432
user: postgres
password: e949e2f69ba5c6064474c59ef823882f
migrations: true
active: true
w0wka91
08/31/2018, 4:17 AMGorodov Maksim
08/31/2018, 12:39 PMGorodov Maksim
08/31/2018, 12:39 PMGorodov Maksim
08/31/2018, 12:39 PM