code-server/docker-compose.yml

14 lines
309 B
YAML
Raw Normal View History

2019-10-30 00:08:01 +08:00
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}