Skip to content

Commit ec4dfbd

Browse files
leonardodinonikolasburk
authored andcommitted
Docs: fix docker-compose yml volume declarations
This commit adds a yml null `~` as the volume value. The empty blocks where being interpreted incorrectly by prettier. This fix was suggested in the related upstream prettier issue. related: prettier/prettier#4971 closes: prisma/prisma-content-feedback#89 alternative: leonardodino/prisma@c7f35d2
1 parent a36d3d3 commit ec4dfbd

File tree

128 files changed

+224
-224
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+224
-224
lines changed

docs/1.0/03-Tutorials/04-Cluster-Deployment/02-Digital-Ocean-(Docker-Machine).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ networks:
145145
driver: bridge
146146

147147
volumes:
148-
db-persistence:
148+
db-persistence: ~
149149
```
150150
151151
In `.env`, replace `SECRET_1` and `SECRET_2` (occurs twice) with a long and secure random string.

docs/1.1/03-Tutorials/04-Cluster-Deployment/01-Digital-Ocean-(Docker-Machine).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ networks:
182182
driver: bridge
183183
184184
volumes:
185-
db-persistence:
185+
db-persistence: ~
186186
```
187187

188188
</Instruction>

docs/1.1/04-Reference/05-Clusters/02-Docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ networks:
8383
driver: bridge
8484

8585
volumes:
86-
db-persistence:
86+
db-persistence: ~
8787
```
8888
8989
> **Note**: In an upcoming release, [`prisma-database` will be renamed to just `prisma`](https://github.com/graphcool/prisma/issues/1791).

docs/1.10/03-Tutorials2/01-Setup-Prisma/02-Create-New-DB/01-MySQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ services:
109109
volumes:
110110
- mysql:/var/lib/mysql
111111
volumes:
112-
mysql:
112+
mysql: ~
113113
```
114114
115115
</Instruction>

docs/1.10/03-Tutorials2/01-Setup-Prisma/02-Create-New-DB/02-Postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ services:
110110
volumes:
111111
- postgres:/var/lib/postgresql/data
112112
volumes:
113-
postgres:
113+
postgres: ~
114114
```
115115
116116
</Instruction>

docs/1.10/03-Tutorials2/06-Deploy-Prisma-Servers/01-Digital-Ocean-(Docker-Machine).md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ networks:
186186
driver: bridge
187187
188188
volumes:
189-
db-persistence:
189+
db-persistence: ~
190190
```
191191

192192
</Instruction>

docs/1.10/04-Reference/05-Prisma-Servers-&-DBs/02-Database-Connectors/02-MySQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ services:
3737
volumes:
3838
- mysql:/var/lib/mysql
3939
volumes:
40-
mysql:
40+
mysql: ~
4141
```
4242
4343
## Get started

docs/1.10/04-Reference/05-Prisma-Servers-&-DBs/02-Database-Connectors/03-Postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
volumes:
3939
- postgres:/var/lib/postgresql/data
4040
volumes:
41-
postgres:
41+
postgres: ~
4242
```
4343
4444
## Get started

docs/1.11/03-Tutorials2/01-Setup-Prisma/02-Create-New-DB/01-MySQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ services:
109109
volumes:
110110
- mysql:/var/lib/mysql
111111
volumes:
112-
mysql:
112+
mysql: ~
113113
```
114114
115115
</Instruction>

docs/1.11/03-Tutorials2/01-Setup-Prisma/02-Create-New-DB/02-Postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ services:
110110
volumes:
111111
- postgres:/var/lib/postgresql/data
112112
volumes:
113-
postgres:
113+
postgres: ~
114114
```
115115
116116
</Instruction>

0 commit comments

Comments
 (0)