mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
14 lines
309 B
YAML
14 lines
309 B
YAML
version: "3"
|
|
|
|
services:
|
|
code-server:
|
|
container_name: code-server
|
|
image: codercom/code-server
|
|
ports:
|
|
- "8080:8080"
|
|
volumes:
|
|
- "${PWD}:/home/coder/project"
|
|
- "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server"
|
|
environment:
|
|
PASSWORD: ${PASSWORD}
|