Add path for settings.json to avoid lost after upgrade

This commit is contained in:
Gbanyan 2020-05-08 00:02:22 +08:00
parent 1a4ee34df1
commit 77fcf82e9e

View File

@ -16,7 +16,8 @@ services:
expose: expose:
- '8080' - '8080'
volumes: 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: environment:
- PASSWORD=8115@code - PASSWORD=8115@code
image: 'codercom/code-server:latest' image: 'codercom/code-server:latest'