From cc02632a28ea5cb4f3cdf4fcc754879fa6140e2b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Wed, 24 May 2023 12:51:26 +0200 Subject: [PATCH] Fix dev:docker --- hosting/docker-compose.dev.yaml | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/hosting/docker-compose.dev.yaml b/hosting/docker-compose.dev.yaml index c25b3075a1..a8435fa083 100644 --- a/hosting/docker-compose.dev.yaml +++ b/hosting/docker-compose.dev.yaml @@ -76,21 +76,24 @@ services: retries: 3 proxy-service: - container_name: budi-nginx-dev - restart: on-failure - image: budibase/proxy:latest - volumes: - - ./nginx.dev.conf:/etc/nginx/templates/nginx.conf.template - - ./proxy/error.html:/usr/share/nginx/html/error.html ports: - "${MAIN_PORT}:10000" + container_name: build-bbproxy + image: budibase/proxy + environment: + - PROXY_RATE_LIMIT_WEBHOOKS_PER_SECOND=10 + - PROXY_RATE_LIMIT_API_PER_SECOND=20 + - APPS_UPSTREAM_URL=http://app-service:4002 + - WORKER_UPSTREAM_URL=http://worker-service:4003 + - MINIO_UPSTREAM_URL=http://minio-service:9000 + - COUCHDB_UPSTREAM_URL=http://couchdb-service:5984 + - WATCHTOWER_UPSTREAM_URL=http://watchtower-service:8080 + - RESOLVER=127.0.0.11 depends_on: - minio-service + - worker-service + - app-service - couchdb-service - extra_hosts: - - "host.docker.internal:host-gateway" - environment: - - PROXY_ADDRESS=host.docker.internal couchdb-service: # platform: linux/amd64