Skip to content

Commit 5a95f2e

Browse files
authored
Merge pull request #5552 from influxdata/fix-docker-compose-example
fix(v2): missing volumes section in Docker compose example
2 parents 37e0b8f + 135594e commit 5a95f2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content/influxdb/v2/install/use-docker-compose.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ Follow steps to set up and run InfluxDB using Docker Compose and `secrets`:
7676
file: ~/.env.influxdb2-admin-password
7777
influxdb2-admin-token:
7878
file: ~/.env.influxdb2-admin-token
79+
volumes:
80+
influxdb2-data:
81+
influxdb2-config:
7982
```
8083
8184
3. For each secret in `compose.yaml`, create a file that contains the secret

0 commit comments

Comments
 (0)