-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (30 loc) · 1.37 KB
/
.env.example
File metadata and controls
41 lines (30 loc) · 1.37 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# DIGY Environment Configuration
# RAM Disk Settings
DIGY_RAM_SIZE=1 # Size in GB for RAM disk
DIGY_RAM_PATH=/tmp/digy_ram # Path for RAM disk mount
# Docker Settings
DIGY_DOCKER_IMAGE=python:3.12-slim # Default Docker image
DIGY_DOCKER_NETWORK=bridge # Docker network mode
# Python Settings
DIGY_PYTHON_VERSION=3.12-slim # Default Python version
# Volume Settings
DIGY_LOCAL_VOLUMES=/app:/app:rw # Default local volume mounts (format: host:container:mode)
DIGY_RAM_VOLUMES=/tmp/digy_ram:/tmp/digy_ram:rw # Default RAM volume mounts
# Environment Variables
DIGY_ENV_VARS=DEBUG=1 # Default environment variables
# Cleanup Settings
DIGY_AUTO_CLEANUP=true # Automatically cleanup after execution
DIGY_CLEANUP_DELAY=60 # Delay before cleanup in seconds
# Logging Settings
DIGY_LOG_LEVEL=INFO # Log level (DEBUG, INFO, WARNING, ERROR)
DIGY_LOG_FILE=/tmp/digy.log # Log file path
# Security Settings
DIGY_USER_ID=1000 # Default user ID for container
DIGY_GROUP_ID=1000 # Default group ID for container
# Network Settings
DIGY_PORT_MAPS=8080:8080 # Default port mappings (format: host:container)
# Performance Settings
DIGY_MAX_MEMORY=2G # Maximum memory limit for containers
DIGY_MAX_CPUS=2 # Maximum CPU cores
# Example of custom project configuration
# DIGY_PROJECT_CONFIG={"my_project": {"volumes": [{"type": "local", "path": "/app/data", "source": "./data", "readonly": true}]}}