-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
26 lines (20 loc) · 842 Bytes
/
.env.example
File metadata and controls
26 lines (20 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# opencode-cloud Docker Compose overrides
#
# Copy to .env in this directory to customize runtime defaults.
# Container image to run.
# Production recommendation: pin to an explicit tag (for example 15.2.0).
OPENCODE_IMAGE=prizz/opencode-cloud-sandbox:latest
# Image pull behavior for docker compose.
# Common values: missing (default), always.
OPENCODE_PULL_POLICY=missing
# Host:container port mapping.
# Local-safe default binds localhost only; use 3000:3000 for public exposure.
OPENCODE_PORT_MAPPING=127.0.0.1:3000:3000
# Hostname passed to opencode web in the container.
OPENCODE_HOST=0.0.0.0
# Graceful shutdown window before Docker sends SIGKILL.
OPENCODE_STOP_GRACE_PERIOD=30s
# Container log settings (json-file driver with rotation by default).
OPENCODE_LOG_DRIVER=json-file
OPENCODE_LOG_MAX_SIZE=10m
OPENCODE_LOG_MAX_FILE=3