diff --git a/.dockerignore b/.dockerignore index 3b54c5b8c4..f05f8a34ae 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,2 @@ **/dist/ -**.env +**.env \ No newline at end of file diff --git a/docker-compose-cli.yaml b/docker-compose-cli.yaml index 83212972aa..a8f29e8478 100644 --- a/docker-compose-cli.yaml +++ b/docker-compose-cli.yaml @@ -1,6 +1,3 @@ -version: "3.2" -name: "zkcli-block-explorer" - services: app: platform: linux/amd64 @@ -43,18 +40,6 @@ services: extra_hosts: - "host.docker.internal:host-gateway" - data-fetcher: - platform: linux/amd64 - image: "matterlabs/block-explorer-data-fetcher:${VERSION}" - environment: - - PORT=3040 - - LOG_LEVEL=verbose - - NODE_ENV=development - - BLOCKCHAIN_RPC_URL=http://host.docker.internal:${RPC_PORT} - ports: - - '3040:3040' - restart: unless-stopped - api: platform: linux/amd64 image: "matterlabs/block-explorer-api:${VERSION}" diff --git a/docker-compose.yaml b/docker-compose.yaml index 1c44fb9e29..59eeb73f9a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,5 +1,3 @@ -version: '3.8' - services: app: build: @@ -47,29 +45,6 @@ services: condition: service_healthy restart: unless-stopped - data-fetcher: - build: - context: . - dockerfile: ./packages/data-fetcher/Dockerfile - target: development-stage - command: npm run --prefix packages/data-fetcher dev:debug - environment: - - PORT=3040 - - LOG_LEVEL=verbose - - NODE_ENV=development - - BLOCKCHAIN_RPC_URL=http://zksync:3050 - ports: - - '3040:3040' - - '9231:9229' - - '9232:9230' - volumes: - - ./packages/data-fetcher:/usr/src/app/packages/data-fetcher - - /usr/src/app/packages/data-fetcher/node_modules - depends_on: - zksync: - condition: service_healthy - restart: unless-stopped - api: build: context: . @@ -82,11 +57,6 @@ services: ports: - '3020:3020' - '3005:3005' - - '9233:9229' - - '9234:9230' - volumes: - - ./packages/api:/usr/src/app/packages/api - - /usr/src/app/packages/api/node_modules depends_on: - worker restart: unless-stopped