From bf39eb9ca6bfeed1be5d6f25c4b06f789a01bf03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=83=E4=BF=8A=E6=A6=95?= Date: Sun, 5 Feb 2023 16:44:01 +0800 Subject: [PATCH] Fix old code-server options --- nginx_reverse+code-server/docker-compose.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nginx_reverse+code-server/docker-compose.yaml b/nginx_reverse+code-server/docker-compose.yaml index f9b7e70..fd95127 100644 --- a/nginx_reverse+code-server/docker-compose.yaml +++ b/nginx_reverse+code-server/docker-compose.yaml @@ -8,16 +8,16 @@ services: ports: - 443:443 volumes: - - /home/gbanyan/docker/nginx/:/etc/nginx/ - - /home/gbanyan/docker/certs/:/etc/ssl/private/ + - ./nginx/:/etc/nginx/ + - ./certs/:/etc/ssl/private/ code-server: user: 1001:1001 expose: - '8080' volumes: - - '/home/gbanyan/docker/code-server/project:/home/coder/project/' - - '/home/gbanyan/docker/code-server/user:/home/coder/.local/share/code-server/' + - './project:/home/coder/project/' + - './user:/home/coder/.local/share/code-server/' environment: - - PASSWORD=8115@code - image: 'codercom/code-server:latest' \ No newline at end of file + - PASSWORD=xxxx*xxxx + image: 'codercom/code-server:latest'