mirror of
https://github.com/linuxserver/docker-code-server.git
synced 2025-08-10 08:07:18 +02:00
Add docker-compose configuration for FIPS-compliant code-server
- 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>
This commit is contained in:
parent
0bebddb54a
commit
b32f1c3a42
@ -4,3 +4,4 @@
|
||||
.gitattributes
|
||||
READMETEMPLATE.md
|
||||
README.md
|
||||
.env
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -42,3 +42,4 @@ Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
.jenkins-external
|
||||
.env
|
||||
|
22
docker-compose.yml
Normal file
22
docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
---
|
||||
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
|
Loading…
Reference in New Issue
Block a user