diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-02-06 22:15:14 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-02-06 22:15:14 +0800 | 
| commit | 24780ee981edc156371f8ef8fe760b2911cf548e (patch) | |
| tree | 50103cbad8d2611f3ae1bffdf3922b3162b36910 /templates | |
| parent | 0f5f718097aa77474f66139502b1e6f643ee74e2 (diff) | |
| download | crupest-24780ee981edc156371f8ef8fe760b2911cf548e.tar.gz crupest-24780ee981edc156371f8ef8fe760b2911cf548e.tar.bz2 crupest-24780ee981edc156371f8ef8fe760b2911cf548e.zip  | |
feat(service): disable code-server service.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/docker-compose.yaml.template | 19 | ||||
| -rw-r--r-- | templates/nginx/conf.d/code.conf.template | 14 | 
2 files changed, 0 insertions, 33 deletions
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;  }  | 
