Skip to content

Commit

Permalink
feat: upgrade TimescaleDB to 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bobeal committed Aug 16, 2020
1 parent 0b079ef commit 72bc839
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
- 7474:7474
- 7687:7687
postgres:
image: stellio/stellio-timescale-postgis:latest
image: stellio/stellio-timescale-postgis:1.7.2-pg11
container_name: stellio-postgres
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
Expand Down
2 changes: 1 addition & 1 deletion search-service/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
depends_on:
- zookeeper
postgres:
image: stellio/stellio-timescale-postgis:latest
image: stellio/stellio-timescale-postgis:1.7.2-pg11
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- "POSTGRES_MULTIPLE_DATABASES=${STELLIO_SEARCH_DB_DATABASE},${STELLIO_SEARCH_DB_USER},${STELLIO_SEARCH_DB_PASSWORD}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ CREATE TABLE observation (
UNIQUE (observed_by, observed_at, value, unit_code)
);

SELECT create_hypertable('observation', 'observed_at', 'observed_by');
SELECT create_hypertable('observation', 'observed_at');
-- see when / if it's needed
-- SELECT create_hypertable('measure', 'time', chunk_time_interval => interval '1 day');
2 changes: 1 addition & 1 deletion subscription-service/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
depends_on:
- zookeeper
postgres:
image: stellio/stellio-timescale-postgis:latest
image: stellio/stellio-timescale-postgis:1.7.2-pg11
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- "POSTGRES_MULTIPLE_DATABASES=${STELLIO_SUBSCRIPTION_DB_DATABASE},${STELLIO_SUBSCRIPTION_DB_USER},${STELLIO_SUBSCRIPTION_DB_PASSWORD}"
Expand Down

0 comments on commit 72bc839

Please sign in to comment.