We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3875330 commit 7c11010Copy full SHA for 7c11010
compose/influxdb/docker-compose.v2.yml
@@ -0,0 +1,19 @@
1
+version: "3.4"
2
+
3
+networks:
4
+ default:
5
+ name: devops
6
7
+services:
8
+ influxdb_v2:
9
+ container_name: influxdb
10
+ image: influxdb:2.7.11
11
+ restart: always
12
+ ports:
13
+ - "8086:8086"
14
+ environment:
15
+ - DOCKER_INFLUXDB_INIT_MODE=setup
16
+ - DOCKER_INFLUXDB_INIT_USERNAME=root
17
+ - DOCKER_INFLUXDB_INIT_PASSWORD=root@123
18
+ - DOCKER_INFLUXDB_INIT_ORG=test_g
19
+ - DOCKER_INFLUXDB_INIT_BUCKET=test_bucket
compose/influxdb/docker-compose.yml
@@ -1,4 +1,4 @@
-version: '3.4'
networks:
default:
@@ -9,4 +9,4 @@ services:
image: influxdb:1.8
restart: always
ports:
- - "8086:8086"
0 commit comments