Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Latest commit

History

History
52 lines (40 loc) 路 1.35 KB

installing-the-beta-b5op.mdx

File metadata and controls

52 lines (40 loc) 路 1.35 KB

import Code from 'components/Markdown/Code'

export const meta = { title: 'Installing the Beta', position: 110 }

Beta access

Prisma CLI

You can get access to the latest beta release of the Prisma CLI by appending the @beta-tag when installing it via NPM:

npm install -g prisma@beta

Prisma server (Docker)

You can find the latest beta Prisma Docker image on Docker Hub. To use the latest version of a Prisma server, you need to configure the image property in your Docker Compose file accordingly by appending -beta to the the version number, e.g.:

version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.25-beta
    restart: always
    ports:
    - "4466:4466"
    environment:
      PRISMA_CONFIG: |
        managementApiSecret: __YOUR_MANAGEMENT_API_SECRET__
        port: __YOUR_PRISMA_SERVER_PORT__
        databases:
          default:
            connector: __YOUR_DATABASE_CONNECTOR__
            migrations: __ENABLE_DB_MIGRATIONS__
            host: __YOUR_DATABASE_HOST__
            port: __YOUR_DATABASE_PORT__
            user: __YOUR_DATABASE_USER__
            password: __YOUR_DATABASE_PASSWORD__

You can also pull the latest beta version directly using the Docker CLI:

docker pull prismagraphql/prisma:1.25-beta