timescale running, configured post with local postgres circumvented

master
Stefan Haslinger (root) 2022-03-21 16:50:33 +01:00
parent 221988be68
commit 46c537c308
3 changed files with 4 additions and 2 deletions

View File

@ -6,6 +6,7 @@ config :weather_tracker, WeatherTracker.Repo,
password: "postgres",
hostname: "localhost",
database: "weather_tracker_dev",
port: 54320,
show_sensitive_data_on_connection_error: true,
pool_size: 10

View File

@ -10,6 +10,7 @@ config :weather_tracker, WeatherTracker.Repo,
password: "postgres",
hostname: "localhost",
database: "weather_tracker_test#{System.get_env("MIX_TEST_PARTITION")}",
ports: 54320,
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10

View File

@ -1,10 +1,10 @@
version: '3.8'
version: '3.3'
services:
postgres:
image: timescale/timescaledb:2.6.0-pg14
ports:
- '5432:5432'
- '54320:5432'
volumes:
- postgres-data:/var/lib/postgresql/data
environment: