Abul Kashem
10/12/2020, 7:20 AMusers-MacBook-Pro:prisma user$ docker-compose up -d
prisma_postgres_1 is up-to-date
prisma_prisma_1 is up-to-date
users-MacBook-Pro:prisma user$ prisma deploy
▸ Could not connect to server at <http://localhost:4466>. Please check if your
▸ server is running.
Get in touch if you need help: <https://slack.prisma.io>
To get more detailed output, run $ export DEBUG="*"
(node:10662) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
`(Use node --trace-deprecation ...
to show where the warning was created)`Ryan
10/12/2020, 7:24 AMdocker-compose.yml
?Abul Kashem
10/12/2020, 7:26 AMversion: '3'
services:
prisma:
image: prismagraphql/prisma:1.34
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: postgres
host: <http://ec2-3-210-178-167.compute-1.amazonaws.com|ec2-3-210-178-167.compute-1.amazonaws.com>
user: dpeeboz
password: 6c3dbaa605a60e47f636e
database: dd32
ssl: true
rawAccess: true
port: 5432
migrations: true
postgres:
image: postgres
restart: always
# Uncomment the next two lines to connect to your your database from outside the Docker environment, e.g. using a database GUI like Postico
# ports:
# - "5432:5432"
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
volumes:
- postgres:/var/lib/postgresql/data
volumes:
postgres: