Created
November 13, 2018 18:52
-
-
Save abhiaiyer91/2bfb889d6b24c4ec097990de1194bca1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
prisma: | |
image: prismagraphql/prisma:1.20.0 | |
restart: on-failure | |
ports: | |
- "4466:4466" | |
environment: | |
PRISMA_CONFIG: | | |
port: 4466 | |
databases: | |
default: | |
connector: mysql | |
host: mysql | |
port: 3306 | |
user: root | |
password: prisma | |
migrations: true | |
mysql: | |
image: mysql:5.7 | |
restart: on-failure | |
environment: | |
MYSQL_ROOT_PASSWORD: prisma | |
volumes: | |
- mysql:/var/lib/mysql | |
volumes: | |
mysql: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment