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: ports:
- 443:443 - 443:443
volumes: volumes:
- /home/gbanyan/docker/nginx/:/etc/nginx/ - ./nginx/:/etc/nginx/
- /home/gbanyan/docker/certs/:/etc/ssl/private/ - ./certs/:/etc/ssl/private/
code-server: code-server:
user: 1001:1001 user: 1001:1001
expose: expose:
- '8080' - '8080'
volumes: volumes:
- '/home/gbanyan/docker/code-server/project:/home/coder/project/' - './project:/home/coder/project/'
- '/home/gbanyan/docker/code-server/user:/home/coder/.local/share/code-server/' - './user:/home/coder/.local/share/code-server/'
environment: environment:
- PASSWORD=8115@code - PASSWORD=xxxx*xxxx
image: 'codercom/code-server:latest' image: 'codercom/code-server:latest'