Skip to content

Commit f75df7a

Browse files
authored
Merge pull request #39 from gpongelli/PR_add_timescaledb
Add timescaledb
2 parents 7689228 + 1ce3b57 commit f75df7a

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.templates/timescaledb/service.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
timescaledb:
2+
container_name: timescaledb
3+
image: timescale/timescaledb:latest-pg12
4+
restart: unless-stopped
5+
env_file:
6+
- ./services/timescaledb/timescaledb.env
7+
ports:
8+
- 5432:5432
9+
volumes:
10+
- ./volumes/timescaledb/data:/var/lib/postgresql/data
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
POSTGRES_USER=postuser
2+
POSTGRES_PASSWORD=postpassword
3+
POSTGRES_DB=postdb

menu.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ declare -A cont_array=(
1212
[grafana]="Grafana"
1313
[mosquitto]="Eclipse-Mosquitto"
1414
[postgres]="Postgres"
15+
[timescaledb]="Timescaledb"
1516
[mariadb]="MariaDB (MySQL fork)"
1617
[adminer]="Adminer"
1718
[openhab]="openHAB"
@@ -42,7 +43,8 @@ declare -a armhf_keys=(
4243
"telegraf"
4344
"mariadb"
4445
"postgres"
45-
"transmission"
46+
"timescaledb"
47+
"transmission"
4648
"adminer"
4749
"openhab"
4850
"zigbee2mqtt"

0 commit comments

Comments
 (0)