Add docker-compose file (#680)
This commit is contained in:
parent
cd859d117f
commit
f65c9b23fc
1 changed files with 13 additions and 0 deletions
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
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}
|
Loading…
Reference in a new issue