timescale running, configured post with local postgres circumvented
parent
221988be68
commit
46c537c308
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue