From 4442aad817bd028d40560ce8bfefad36f60ef27e Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Thu, 6 Feb 2025 22:15:14 +0800 Subject: feat(service): disable code-server service. --- templates/docker-compose.yaml.template | 19 ------------------- templates/nginx/conf.d/code.conf.template | 14 -------------- 2 files changed, 33 deletions(-) (limited to 'templates') diff --git a/templates/docker-compose.yaml.template b/templates/docker-compose.yaml.template index 6305b56..6de0c12 100644 --- a/templates/docker-compose.yaml.template +++ b/templates/docker-compose.yaml.template @@ -125,24 +125,6 @@ services: timeout: 3s retries: 0 - debian-dev: - pull_policy: build - build: - context: ./docker/debian-dev - dockerfile: Dockerfile - pull: true - args: - - USER=crupest - tags: - - "crupest/debian-dev:latest" - container_name: debian-dev - init: true - command: [ "/bootstrap/start/code-server.bash" ] - volumes: - - ./data/debian-dev:/data - - debian-dev-home:/home/crupest - restart: on-failure:3 - forgejo: image: code.forgejo.org/forgejo/forgejo:10 pull_policy: always @@ -199,5 +181,4 @@ services: volumes: blog-public: - debian-dev-home: roundcubemail-temp: diff --git a/templates/nginx/conf.d/code.conf.template b/templates/nginx/conf.d/code.conf.template index 205c7ba..aa70ebc 100644 --- a/templates/nginx/conf.d/code.conf.template +++ b/templates/nginx/conf.d/code.conf.template @@ -1,20 +1,6 @@ -server { - server_name code.${CRUPEST_DOMAIN}; - include common/https-listen; - - location / { - include common/proxy-common; - proxy_pass http://debian-dev:8080/; - } - - client_max_body_size 5G; -} - - server { server_name code.${CRUPEST_DOMAIN}; include common/http-listen; - include common/https-redirect; include common/acme-challenge; } -- cgit v1.2.3