2020-10-28 14:04:01 +01:00
|
|
|
# https://hub.docker.com/r/linuxserver/code-server
|
|
|
|
|
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
code-server:
|
2021-08-17 08:08:55 +02:00
|
|
|
image: linuxserver/code-server:latest
|
2020-10-28 14:04:01 +01:00
|
|
|
container_name: code-server
|
|
|
|
environment:
|
|
|
|
- PUID=xxxx
|
|
|
|
- PGID=xxxx
|
|
|
|
- TZ=Europe/Amsterdam
|
|
|
|
- PASSWORD=xxxxxxxxxxxx #optional
|
|
|
|
volumes:
|
2021-08-17 08:08:55 +02:00
|
|
|
- ./config:/config
|
2020-10-28 14:04:01 +01:00
|
|
|
- /docker:/projects/docker
|
|
|
|
ports:
|
|
|
|
- 8443:8443
|
|
|
|
restart: unless-stopped
|