nilan
05/09/2018, 11:12 AMdocker ps
?nilan
05/09/2018, 11:12 AMcarstenbaumhoegger
05/09/2018, 11:13 AMCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f8a12b5a0e58 prismagraphql/prisma:1.8 “/bin/sh -c /app/sta…” 5 minutes ago Restarting (1) 18 seconds ago database_prisma_1
67008b954308 prismagraphql/prisma:1.8 “/bin/sh -c /app/sta…” 7 minutes ago Restarting (1) 26 seconds ago local_prisma-database_1
42d9224fc79b mysql:5.7 “docker-entrypoint.s…” 7 minutes ago Up 7 minutes 0.0.0.0:3307->3306/tcp prisma-db
nilan
05/09/2018, 11:14 AMcarstenbaumhoegger
05/09/2018, 11:15 AM.env
file (Prisma Cloud is down), used docker-compose up -d
to start the containers and then ran prisma deploy
nilan
05/09/2018, 11:15 AMprismagraphql/prisma:1.8
containers therecarstenbaumhoegger
05/09/2018, 11:15 AMnilan
05/09/2018, 11:15 AMcarstenbaumhoegger
05/09/2018, 11:19 AMdocker-compose up -d
again and then prisma deploy
.
Now I’m getting this error
Creating stage dev for service backend !
▸ Could not connect to cluster local. Please use docker-compose up -d to start your local Prisma cluster.
Get in touch if you need help: <https://www.graph.cool/forum>
To get more detailed output, run $ export DEBUG="*"
docker ps
shows:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9edbcde217df prismagraphql/prisma:1.8 "/bin/sh -c /app/sta…" 32 seconds ago Restarting (1) 10 seconds ago database_prisma_1
Maybe my local link is not correct?
PRISMA_ENDPOINT="<http://localhost:4466/backend/dev>"
nilan
05/09/2018, 11:20 AMRestarting (1) 10this is not correct, and means your server isn't running
nilan
05/09/2018, 11:20 AMdocker-compose.yml
?carstenbaumhoegger
05/09/2018, 11:20 AMnilan
05/09/2018, 11:21 AMcarstenbaumhoegger
05/09/2018, 11:28 AMnilan
05/09/2018, 11:29 AMnilan
05/09/2018, 11:30 AMdocker-compose.yml
doesn't contain information for the Prisma server to which DB it should connect tonilan
05/09/2018, 11:31 AMprisma init
, then choose create new database
in a new folder to see how such a docker-compose.yml
could look like 🙂carstenbaumhoegger
05/09/2018, 11:32 AMprisma init
was still required, when using the boilerplate! Maybe the documentation can be adjusted, so that noone forgets to run that? 😄nilan
05/09/2018, 11:33 AMprisma init
when using the boilerplates 🙂 but we should definitely think about covering that path better (moving from demo server + DB to local server + DB)carstenbaumhoegger
05/09/2018, 11:36 AMdocker-compose
file and pasted it into the existing project, now everything works fine. Thanks for your time!
If you need some help improving the docs, I’m willing to help! 🙂nilan
05/09/2018, 11:36 AMnilan
05/09/2018, 11:37 AMcarstenbaumhoegger
05/09/2018, 11:38 AMcarstenbaumhoegger
05/09/2018, 11:38 AMnode-graphql-server
or at typescript-graphql-server
?nilan
05/09/2018, 11:38 AMcarstenbaumhoegger
05/09/2018, 11:39 AMnilan
05/09/2018, 11:39 AMcarstenbaumhoegger
05/09/2018, 11:39 AMnilan
05/09/2018, 11:41 AMcarstenbaumhoegger
05/09/2018, 11:41 AMnilan
05/09/2018, 11:42 AMcarstenbaumhoegger
05/09/2018, 11:42 AM