Skip to content

Commit 7818e40

Browse files
authored
Merge pull request #656 from Paraphraser/20230129-timescaledb-master
2023-01-29 timescaledb - master branch
2 parents 42dad65 + e1e05a4 commit 7818e40

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.templates/timescaledb/service.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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
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

0 commit comments

Comments
 (0)