ADD: datasource test
This commit is contained in:
28
docker/docker-compose.yaml
Normal file
28
docker/docker-compose.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
tsdb:
|
||||
image: tdengine/tsdb:3.3.8.8
|
||||
hostname: tsdb
|
||||
ports:
|
||||
- "6030:6030"
|
||||
- "6041:6041"
|
||||
- "6043:6043"
|
||||
- "6060:6060"
|
||||
- "6044-6049:6044-6049"
|
||||
- "6044-6045:6044-6045/udp"
|
||||
- "6050:6050"
|
||||
- "6055:6055"
|
||||
- "6030-6060:6030-6060/udp"
|
||||
restart: always
|
||||
|
||||
db:
|
||||
image: postgres:15.15
|
||||
hostname: postgres
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- POSTGRES_USER=energy
|
||||
- POSTGRES_PASSWORD=energy
|
||||
- POSTGRES_DB=energy
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user