Skip to content

Commit b32f1c3

Browse files
thatguyinabeanieopencode
andcommitted
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>
1 parent 0bebddb commit b32f1c3

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
.gitattributes
55
READMETEMPLATE.md
66
README.md
7+
.env

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@ Network Trash Folder
4242
Temporary Items
4343
.apdisk
4444
.jenkins-external
45+
.env

docker-compose.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
services:
3+
code-server:
4+
build:
5+
context: .
6+
dockerfile: Dockerfile
7+
args:
8+
- BUILD_DATE=${BUILD_DATE:-2025-01-21T00:00:00Z}
9+
- VERSION=${VERSION:-4.102.1}
10+
- CODE_RELEASE=${CODE_RELEASE:-4.102.1}
11+
image: gabemendoza1/codecloud-code-server:jammy-code-server-python-v${CODE_RELEASE:-4.102.1}
12+
container_name: code-server
13+
environment:
14+
- PUID=${PUID:-1000}
15+
- PGID=${PGID:-1000}
16+
- TZ=${TZ:-Etc/UTC}
17+
- PROXY_DOMAIN=${PROXY_DOMAIN:-}
18+
- DEFAULT_WORKSPACE=${DEFAULT_WORKSPACE:-/workspace}
19+
- PWA_APPNAME=${PWA_APPNAME:-code-server}
20+
ports:
21+
- "${HOST_PORT:-8443}:8443"
22+
restart: unless-stopped

0 commit comments

Comments
 (0)