From 7fe7ef1f748381aff552d7e8cd9c7f6db2f342bd Mon Sep 17 00:00:00 2001 From: iv1310 Date: Mon, 18 Mar 2024 23:23:44 +0700 Subject: [PATCH] chore: remove unused files. --- docker/BaseDockerfile | 8 -------- docker/docker-compose.yml | 7 ------- docker/nginx/Dockerfile | 9 --------- docker/nginx/default.conf | 16 ---------------- 4 files changed, 40 deletions(-) delete mode 100644 docker/BaseDockerfile delete mode 100644 docker/nginx/Dockerfile delete mode 100644 docker/nginx/default.conf diff --git a/docker/BaseDockerfile b/docker/BaseDockerfile deleted file mode 100644 index 1dd4e486e..000000000 --- a/docker/BaseDockerfile +++ /dev/null @@ -1,8 +0,0 @@ -FROM ubuntu:18.04 as builder - -RUN apt-get update \ - && apt-get install -y libusb-1.0-0-dev build-essential git curl gnupg gcc-4.8 g++-4.8 \ - && export CXX=g++-4.8 \ - && curl -sL https://deb.nodesource.com/setup_16.x | bash - \ - && apt-get install -y nodejs \ - && npm install yarn -g diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9bccc0272..1efa720e6 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -9,10 +9,3 @@ services: container_name: subsocial-web-ui restart: on-failure network_mode: "host" - - nginx: - build: ./nginx - container_name: subsocial-proxy - image: dappforce/subsocial-proxy:latest - restart: on-failure - network_mode: "host" diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile deleted file mode 100644 index 954ed60ea..000000000 --- a/docker/nginx/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM nginx:alpine - -RUN rm /etc/nginx/conf.d/* - -COPY ./default.conf /etc/nginx/conf.d/ - -EXPOSE 80 - -CMD [ "nginx", "-g", "daemon off;" ] \ No newline at end of file diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf deleted file mode 100644 index 0eaee85be..000000000 --- a/docker/nginx/default.conf +++ /dev/null @@ -1,16 +0,0 @@ -server { - listen 80 default_server; - - server_name _; - - server_tokens off; - - location / { - proxy_pass http://localhost:3003; - } - - location /bc/ { - rewrite ^/bc(.*) /$1 break; - proxy_pass http://localhost:3002; - } -}