Jose Maria CL
11/06/2020, 6:36 PMJose Maria CL
11/06/2020, 6:37 PMJose Maria CL
11/06/2020, 6:37 PMJose Maria CL
11/06/2020, 6:38 PMJose Maria CL
11/06/2020, 6:40 PMversion: "3"
services:
prisma:
image: prismagraphql/prisma:1.29
restart: always
ports:
- "0.0.0.0:4467:4467"
environment:
PRISMA_CONFIG: |
port: 4467
databases:
default:
connector: postgres:11
host: postgres
user: prisma
password: prisma
rawAccess: true
port: 5432
migrations: true
postgres:
image: postgres
restart: always
environment:
POSTGRES_USER: prisma
POSTGRES_PASSWORD: prisma
ports:
- "127.0.0.1:5433:5432"
volumes:
- postgres:/var/lib/postgresql/data
web:
build: .
links:
- "postgres:db"
command: npm start
volumes:
- ./dist:/server/dist
ports:
- "0.0.0.0:4000:4000"
volumes:
postgres:
Jose Maria CL
11/06/2020, 7:30 PMJose Maria CL
11/09/2020, 4:18 PMnetworks:
net-prisma-project: