|
@@ -63,3 +63,18 @@ image = openresty
|
|
|
port = 80:80,443:443
|
|
|
volumes = {container}web:/www,{container}conf/web/nginx:/usr/local/openresty/nginx/conf,{container}logs/nginx/openresty_{name}/logs:/var/log/nginx
|
|
|
command = nginx
|
|
|
+
|
|
|
+[influx]
|
|
|
+image = influxdb
|
|
|
+volumes = {container}conf/db/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
|
|
|
+environment = INFLUXDB_ADMIN_ENABLED=true
|
|
|
+port = 8083:8083,8086:8086
|
|
|
+expose = 8090,8099
|
|
|
+alias = influx -precision rfc3339->influx
|
|
|
+
|
|
|
+[tidb]
|
|
|
+;https://hub.docker.com/r/xuxuclassmate/tidb
|
|
|
+image = tidb
|
|
|
+;volumes = {container}conf/db/influxdb/influxdb.conf:/etc/influxdb/influxdb.conf
|
|
|
+;environment = INFLUXDB_ADMIN_ENABLED=true
|
|
|
+port = 4000:4000
|