Skip to content

Commit 79fedfc

Browse files
committed
Use consistent docker-compose file version in docs
1 parent 8fdb8ac commit 79fedfc

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ I won't go in to too much detail here but here are the basics for someone new to
5656
2. Create a docker-compose.yml file similar to this:
5757

5858
```yml
59-
version: '3'
59+
version: '3.8'
6060
services:
6161
app:
6262
image: 'jc21/nginx-proxy-manager:latest'

docs/advanced-config/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ networks:
2525
Let's look at a Portainer example:
2626
2727
```yml
28-
version: '3'
28+
version: '3.8'
2929
services:
3030

3131
portainer:
@@ -60,14 +60,14 @@ healthcheck:
6060
timeout: 3s
6161
```
6262

63-
## Docker Secrets
63+
## Docker File Secrets
6464

65-
This image supports the use of Docker secrets to import from file and keep sensitive usernames or passwords from being passed or preserved in plaintext.
65+
This image supports the use of Docker secrets to import from files and keep sensitive usernames or passwords from being passed or preserved in plaintext.
6666

6767
You can set any environment variable from a file by appending `__FILE` (double-underscore FILE) to the environmental variable name.
6868

6969
```yml
70-
version: "3.7"
70+
version: '3.8'
7171
7272
secrets:
7373
# Secrets are single-line text files where the sole content is the secret
@@ -106,6 +106,7 @@ services:
106106
- MYSQL_PWD
107107
depends_on:
108108
- db
109+
109110
db:
110111
image: jc21/mariadb-aria
111112
restart: unless-stopped

docs/setup/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Create a `docker-compose.yml` file:
66

77
```yml
8-
version: "3"
8+
version: '3.8'
99
services:
1010
app:
1111
image: 'jc21/nginx-proxy-manager:latest'
@@ -51,7 +51,7 @@ are going to use.
5151
Here is an example of what your `docker-compose.yml` will look like when using a MariaDB container:
5252

5353
```yml
54-
version: "3"
54+
version: '3.8'
5555
services:
5656
app:
5757
image: 'jc21/nginx-proxy-manager:latest'

0 commit comments

Comments
 (0)