Fix old code-server options

This commit is contained in:
黃俊榕 2023-02-05 16:44:01 +08:00
parent bfab0486df
commit bf39eb9ca6

View File

@ -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'
- PASSWORD=xxxx*xxxx
image: 'codercom/code-server:latest'