From b345ad3db8ec64a63ed5abf575af76a81d607e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Cantu=C3=A1ria?= Date: Mon, 28 Sep 2020 14:09:39 -0300 Subject: [PATCH] HOT-FIX: Remove container do banco de dados --- docker/docker-compose-dev.yml | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/docker/docker-compose-dev.yml b/docker/docker-compose-dev.yml index cc81da221..0d78f13e0 100644 --- a/docker/docker-compose-dev.yml +++ b/docker/docker-compose-dev.yml @@ -1,18 +1,6 @@ version: '3.7' services: - sapldb-dev: - container_name: sapldb-dev - image: postgres:10.5-alpine - environment: - POSTGRES_PASSWORD: sapl - POSTGRES_USER: sapl - POSTGRES_DB: sapl - ports: - - "5433:5432" - networks: - - sapl-net-dev - sapl-dev: container_name: sapl-dev image: sapl:dev @@ -27,12 +15,5 @@ services: environment: SECRET_KEY: '$dkhxm-$zvxdox$g2-&w^1i!_z1juq0xwox6e3#gy6w_88!3t^' DEBUG: 'True' - DATABASE_URL: postgresql://sapl:sapl@sapldb-dev:5432/sapl + DATABASE_URL: postgresql://sapl:sapl@host.docker.internal:5432/sapl TZ: America/Sao_Paulo - networks: - - sapl-net-dev - -networks: - sapl-net-dev: - name: sapl-net-dev - driver: bridge