File tree Expand file tree Collapse file tree 4 files changed +21
-129
lines changed Expand file tree Collapse file tree 4 files changed +21
-129
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- timescaledb :
2- container_name : timescaledb
3- image : timescale/timescaledb:latest-pg12
4- restart : unless-stopped
5- environment :
6- POSTGRES_USER=timescaleuser
7- POSTGRES_PASSWORD=%randomPassword%
8- POSTGRES_DB=postdb
9- ports :
10- - " 5432: 5432"
11- volumes :
12- - ./volumes/timescaledb/data:/var/lib/postgresql/data
1+ timescaledb :
2+ container_name : timescaledb
3+ image : timescale/timescaledb:latest-pg12
4+ restart : unless-stopped
5+ environment :
6+ - POSTGRES_USER=${IOTSTACK_TIMESCALEDB_USER:-postgres}
7+ - POSTGRES_PASSWORD={IOTSTACK_TIMESCALEDB_INITIAL_PASSWORD:-IOtSt4ckTim3Scale}
8+ - POSTGRES_DB=postdb
9+ ports :
10+ - ${IOTSTACK_TIMESCALEDB_PORT_INT:-5433}: 5432
11+ volumes :
12+ - ./volumes/timescaledb/data:/var/lib/postgresql/data
1313
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ Do note that the ports listed are not all of the ports containers use. They are
3838| rtl_433 | * none* | * none* | * none* | No |
3939| tasmoadmin | * none* | * none* | 8088 | No |
4040| telegraf | * none* | * none* | * none* | No |
41- | timescaledb | timescaleuser | IOtSt4ckTim3Scale | * none* | No |
41+ | timescaledb | postgres | IOtSt4ckTim3Scale | * none* | No |
4242| transmission | * none* | * none* | 9091 | No |
4343| webthingsio_gateway | * none* | * none* | 4060 | No |
4444| zigbee2mqtt | * none* | * none* | * none* | No |
Original file line number Diff line number Diff line change 1+
2+ ### Default port changed
3+
4+ In order to avoid port conflict with PostgreSQL, the public database port is
5+ mapped to ** 5433** using Docker.
6+
7+ Cross-container access from other containers still works as previously:
8+ ` timescaledb:5432 ` .
You can’t perform that action at this time.
0 commit comments