Created
March 3, 2019 08:29
-
-
Save mharrvic/bfbf4c7626f8fee10c62901393c47a81 to your computer and use it in GitHub Desktop.
deployment
This file contains hidden or 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.23 | |
restart: always | |
ports: | |
- '4466:4466' | |
environment: | |
PRISMA_CONFIG: | | |
managementApiSecret: my-secret | |
port: 4466 | |
databases: | |
default: | |
connector: mysql | |
active: true | |
host: prisma-db | |
port: 3306 | |
user: root | |
password: prisma | |
connectionLimit: 3 | |
db: | |
container_name: prisma-db | |
image: mysql:5.7 | |
restart: always | |
environment: | |
MYSQL_USER: root | |
MYSQL_ROOT_PASSWORD: prisma | |
ports: | |
- '3333:3306' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment