Add volume for code server data

This commit is contained in:
root 2021-02-13 17:32:47 +00:00
parent 13f3009098
commit 5669bb2ceb
2 changed files with 1 additions and 0 deletions

0
coder-data/.gitkeep Normal file
View File

View File

@ -52,5 +52,6 @@ services:
volumes:
# - ${CODE_SERVER_CONFIG-./config/code-server.yaml}:/home/coder/.config/code-server/config.yaml
- ${PROJECT_ROOT-./source}:/home/coder/source
- ${CODE_SERVER_CONFIG-./coder-data}:/home/coder/.local
ports:
- ${CODE_SERVER_PORT}:8080