mirror of
https://github.com/samjage/lab.git
synced 2026-06-06 03:50:43 +00:00
27 lines
625 B
YAML
Executable File
27 lines
625 B
YAML
Executable File
services:
|
|
code-server:
|
|
image: lscr.io/linuxserver/code-server:latest
|
|
container_name: code-server
|
|
hostname: code-server
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=998
|
|
- TZ=America/New_York
|
|
- PASSWORD=${CODE_PASSWORD}
|
|
- SUDO_PASSWORD=${CODE_SUDO_PASSWORD}
|
|
- DOCKER_MODS=linuxserver/mods:universal-docker
|
|
volumes:
|
|
- /opt:/opt
|
|
- /home/sam:/home/sam
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /opt/codeserver/config:/config
|
|
ports:
|
|
- "8443:8443"
|
|
restart: unless-stopped
|
|
networks:
|
|
- backbone
|
|
|
|
networks:
|
|
backbone:
|
|
external: true
|