From 6ebed8d28ff92dcbfeff11729c24fbe44782ac9b Mon Sep 17 00:00:00 2001 From: Pitanga Innovare Date: Sat, 1 Jun 2024 14:39:33 -0300 Subject: [PATCH] Corrige nome de banco de dados postgres --- local.yml | 2 +- production.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/local.yml b/local.yml index 2ad23cf..ab0785a 100644 --- a/local.yml +++ b/local.yml @@ -31,7 +31,7 @@ services: image: edoburu/pgbouncer:1.14.0 container_name: scielo_usage_local_pgbouncer environment: - - DATABASE_URL=postgres://GVRFlLmcCNfGLhsFvSnCioYOPJPYpyfj:BQ4hSUL4rdj5WZLdR8ilDLRQMvCtzo0caMaXDO0olGsmycQjlcZlTVK9DepZR8kk@postgres/scielo_core + - DATABASE_URL=postgres://GVRFlLmcCNfGLhsFvSnCioYOPJPYpyfj:BQ4hSUL4rdj5WZLdR8ilDLRQMvCtzo0caMaXDO0olGsmycQjlcZlTVK9DepZR8kk@postgres/scielo_usage - MAX_CLIENT_CONN=100 ports: - 6439:5432 diff --git a/production.yml b/production.yml index d497ebe..a40de9e 100644 --- a/production.yml +++ b/production.yml @@ -24,7 +24,7 @@ services: image: edoburu/pgbouncer:1.14.0 restart: always environment: - - DATABASE_URL=postgres://GVRFlLmcCNfGLhsFvSnCioYOPJPYpyfj:DAkWfpsnPHcAxMeQk2QmPOIZuz4BXG5qGFWi2hCCQE6kvndJHTuzz8SjnxOJY5qj@postgres/core + - DATABASE_URL=postgres://GVRFlLmcCNfGLhsFvSnCioYOPJPYpyfj:DAkWfpsnPHcAxMeQk2QmPOIZuz4BXG5qGFWi2hCCQE6kvndJHTuzz8SjnxOJY5qj@postgres/scielo_usage - MAX_CLIENT_CONN=100 ports: - 6434:5432 @@ -39,8 +39,8 @@ services: dockerfile: ./compose/production/postgres/Dockerfile image: scielo_usage_production_postgres volumes: - - ../scms_data/scielo_core/data_prod:/var/lib/postgresql/data:Z - - ../scms_data/scielo_core/data_prod_backup:/backups:z + - ../scms_data/scielo_usage/data_prod:/var/lib/postgresql/data:Z + - ../scms_data/scielo_usage/data_prod_backup:/backups:z ports: - "5432:5432" env_file: @@ -65,7 +65,7 @@ services: depends_on: - django volumes: - - ../scms_data/scielo_core/traefik:/etc/traefik/acme:z + - ../scms_data/scielo_usage/traefik:/etc/traefik/acme:z ports: - "0.0.0.0:80:80" - "0.0.0.0:443:443"