mirror of
https://github.com/11notes/docker-influxdb.git
synced 2025-11-03 05:23:30 +00:00
update 2.7.3
This commit is contained in:
30
README.md
30
README.md
@@ -1,5 +1,5 @@
|
|||||||
# Alpine :: InfluxDB
|
# Alpine :: InfluxDB
|
||||||
    
|
    
|
||||||
|
|
||||||
Run InfluxDB based on Alpine Linux. Small, lightweight, secure and fast 🏔️
|
Run InfluxDB based on Alpine Linux. Small, lightweight, secure and fast 🏔️
|
||||||
|
|
||||||
@@ -10,11 +10,26 @@ Run InfluxDB based on Alpine Linux. Small, lightweight, secure and fast 🏔️
|
|||||||
## Run
|
## Run
|
||||||
```shell
|
```shell
|
||||||
docker run --name influxdb \
|
docker run --name influxdb \
|
||||||
|
-p 8086:8086 \
|
||||||
-v .../etc/config.yml:/influxdb/etc/config.yml \
|
-v .../etc/config.yml:/influxdb/etc/config.yml \
|
||||||
-v .../var:/influxdb/var \
|
-v .../var:/influxdb/var \
|
||||||
-d 11notes/influxdb:[tag]
|
-d 11notes/influxdb:[tag]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run --name influxdb \
|
||||||
|
-p 8086:8086 \
|
||||||
|
-v .../etc/config.yml:/influxdb/etc/config.yml \
|
||||||
|
-v .../var:/influxdb/var \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_MODE=setup \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_USERNAME=admin \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_PASSWORD=**************** \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_ORG=DOCKER \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_BUCKET=test \
|
||||||
|
-e DOCKER_INFLUXDB_INIT_RETENTION=24h \
|
||||||
|
-d 11notes/influxdb:[tag]
|
||||||
|
```
|
||||||
|
|
||||||
## Defaults
|
## Defaults
|
||||||
| Parameter | Value | Description |
|
| Parameter | Value | Description |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
@@ -24,14 +39,21 @@ docker run --name influxdb \
|
|||||||
| `home` | /influxdb | home directory of user docker |
|
| `home` | /influxdb | home directory of user docker |
|
||||||
| `web` | https://${IP}:8086 | default web ui |
|
| `web` | https://${IP}:8086 | default web ui |
|
||||||
| `config` | /influxdb/etc/config.yml | default config location |
|
| `config` | /influxdb/etc/config.yml | default config location |
|
||||||
|
| `ssl` | /influxdb/ssl | SSL is enabled by default |
|
||||||
|
|
||||||
## Parent
|
## Access
|
||||||
* [influxdb:2.7.1-alpine](https://github.com/influxdata/influxdata-docker/blob/46221770aa619e97553bc95443954f6c4690e1ce/influxdb/2.7/alpine/Dockerfile)
|
| Parameter | Value | Description |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| `web` | https://${IP}:8086 | default web ui |
|
||||||
|
|
||||||
## Built with
|
## Parent Image
|
||||||
|
* [influxdb:2.7.3-alpine](https://github.com/influxdata/influxdata-docker/blob/d141bf4a31102263b69128166c5b22496cac0c64/influxdb/2.7/alpine/Dockerfile)
|
||||||
|
|
||||||
|
## Built with and thanks to
|
||||||
* [influxdb](https://github.com/influxdata/influxdb)
|
* [influxdb](https://github.com/influxdata/influxdb)
|
||||||
* [Alpine Linux](https://alpinelinux.org/)
|
* [Alpine Linux](https://alpinelinux.org/)
|
||||||
|
|
||||||
## Tips
|
## Tips
|
||||||
|
* Use reverse proxy for valid SSL certificates or add your certificates to /influxdb/ssl
|
||||||
* Only use rootless container runtime (podman, rootless docker)
|
* Only use rootless container runtime (podman, rootless docker)
|
||||||
* Don't bind to ports < 1024 (requires root), use NAT/reverse proxy (haproxy, traefik, nginx)
|
* Don't bind to ports < 1024 (requires root), use NAT/reverse proxy (haproxy, traefik, nginx)
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# :: Header
|
# :: Header
|
||||||
FROM influxdb:2.7.1-alpine
|
FROM influxdb:2.7.3-alpine
|
||||||
ENV APP_ROOT=/influxdb
|
ENV APP_ROOT=/influxdb
|
||||||
|
|
||||||
# :: Run
|
# :: Run
|
||||||
|
|||||||
Reference in New Issue
Block a user