From 77fcf82e9e4209b3ffa2ab79d728f07c0a9c1c42 Mon Sep 17 00:00:00 2001 From: Gbanyan Date: Fri, 8 May 2020 00:02:22 +0800 Subject: [PATCH] Add path for settings.json to avoid lost after upgrade --- nginx_reverse+code-server/docker-compose.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx_reverse+code-server/docker-compose.yaml b/nginx_reverse+code-server/docker-compose.yaml index 915e533..f9b7e70 100644 --- a/nginx_reverse+code-server/docker-compose.yaml +++ b/nginx_reverse+code-server/docker-compose.yaml @@ -16,7 +16,8 @@ services: expose: - '8080' volumes: - - '/home/gbanyan/docker/code-server/:/home/coder/project/' + - '/home/gbanyan/docker/code-server/project:/home/coder/project/' + - '/home/gbanyan/docker/code-server/user:/home/coder/.local/share/code-server/' environment: - PASSWORD=8115@code image: 'codercom/code-server:latest' \ No newline at end of file