btotharye
02/27/2019, 12:00 PMJenkins
02/27/2019, 12:08 PMKapil Sharma
02/27/2019, 12:12 PMJenkins
02/27/2019, 12:18 PMKapil Sharma
02/27/2019, 12:32 PMbtotharye
02/27/2019, 12:35 PMbtotharye
02/27/2019, 12:35 PMbtotharye
02/27/2019, 12:36 PMJenkins
02/27/2019, 12:39 PMgraphql-nexus
and nexus-prisma
is a way of generating the schema code-first. Can recommend reading this series: https://www.prisma.io/blog/using-graphql-nexus-with-a-database-pmyl3660ncst/.
@btotharye That sounds like what I'd do. Just make sure that you give it the correct connection string in it's configuration 🙂btotharye
02/27/2019, 12:39 PMJenkins
02/27/2019, 12:40 PMbtotharye
02/27/2019, 12:40 PMversion: "3"
services:
prisma:
image: prismagraphql/prisma:1.26
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
databases:
default:
connector: mongo
uri: mongodb://${MONGO_USER}:${MONGO_PW}@mongo
mongo:
image: mongo:3.6
restart: always
env_file:
- .env
volumes:
- mongo:/var/lib/mongo
ports:
- "27017:27017"
volumes:
mongo:
would basically just become the prisma only and my backend basically and then nginx would sit in front for SSL and I could then use that https endpoint to connect it to prisma console right?btotharye
02/27/2019, 12:41 PMbtotharye
02/27/2019, 12:41 PMJenkins
02/27/2019, 12:41 PMbtotharye
02/27/2019, 12:42 PMbtotharye
02/27/2019, 12:43 PMJenkins
02/27/2019, 12:43 PMbtotharye
02/27/2019, 12:43 PMbtotharye
02/27/2019, 12:44 PMJenkins
02/27/2019, 12:44 PMbtotharye
02/27/2019, 12:44 PMbtotharye
02/27/2019, 12:45 PMbtotharye
02/27/2019, 12:45 PMJenkins
02/27/2019, 12:45 PMbtotharye
02/27/2019, 12:46 PMbtotharye
02/27/2019, 12:46 PMbtotharye
02/27/2019, 12:46 PMJenkins
02/27/2019, 12:47 PMbtotharye
02/27/2019, 12:47 PMbtotharye
02/27/2019, 12:47 PMbtotharye
02/27/2019, 12:48 PMJenkins
02/27/2019, 12:51 PMbtotharye
02/27/2019, 12:52 PM