mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2026-02-20 05:13:57 +08:00
- Add docker-compose.yml with build args for VERSION and CODE_RELEASE - Add .env.example with configurable environment variables - Update .gitignore and .dockerignore to exclude .env files - Set CODE_RELEASE default to 4.102.1 for stable builds - Configure image name: gabemendoza1/codecloud-code-server 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
23 lines
686 B
YAML
23 lines
686 B
YAML
---
|
|
services:
|
|
code-server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
- BUILD_DATE=${BUILD_DATE:-2025-01-21T00:00:00Z}
|
|
- VERSION=${VERSION:-4.102.1}
|
|
- CODE_RELEASE=${CODE_RELEASE:-4.102.1}
|
|
image: gabemendoza1/codecloud-code-server:jammy-code-server-python-v${CODE_RELEASE:-4.102.1}
|
|
container_name: code-server
|
|
environment:
|
|
- PUID=${PUID:-1000}
|
|
- PGID=${PGID:-1000}
|
|
- TZ=${TZ:-Etc/UTC}
|
|
- PROXY_DOMAIN=${PROXY_DOMAIN:-}
|
|
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE:-/workspace}
|
|
- PWA_APPNAME=${PWA_APPNAME:-code-server}
|
|
ports:
|
|
- "${HOST_PORT:-8443}:8443"
|
|
restart: unless-stopped
|