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