Browse Source

timescale running, configured post with local postgres circumvented

master
parent
commit
46c537c308
  1. 1
      config/dev.exs
  2. 1
      config/test.exs
  3. 4
      docker-compose.yml

1
config/dev.exs

@ -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

1
config/test.exs

@ -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

4
docker-compose.yml

@ -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…
Cancel
Save