4cfe87c4f3
* chore(deps): update lscr.io/linuxserver/code-server docker tag to v4.8.3 * Update app version Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
27 lines
883 B
YAML
27 lines
883 B
YAML
version: "3.7"
|
|
services:
|
|
code-server:
|
|
image: lscr.io/linuxserver/code-server:4.8.3
|
|
container_name: code-server
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=${TZ}
|
|
- PASSWORD=${CODESERVER_PASSWORD}
|
|
- DEFAULT_WORKSPACE=/config/workspace #optional
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/config:/config #config dir
|
|
- ${APP_DATA_DIR}/data/projects:/projects
|
|
ports:
|
|
- ${APP_PORT}:8443
|
|
restart: unless-stopped
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
traefik.enable: ${APP_EXPOSED}
|
|
traefik.http.routers.code-server.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.code-server.entrypoints: websecure
|
|
traefik.http.routers.code-server.service: code-server
|
|
traefik.http.routers.code-server.tls.certresolver: myresolver
|
|
traefik.http.services.code-server.loadbalancer.server.port: 8443
|