File tree Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Expand file tree Collapse file tree 1 file changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,22 @@ const Installation = () => {
44
44
< h2 className = "text-2xl font-semibold" > Docker Installation</ h2 >
45
45
< p > Run CheckCle using Docker with these simple steps:</ p >
46
46
< div className = "bg-muted rounded-lg p-4 font-mono text-sm space-y-4" >
47
- < div >
48
- < p className = "text-muted-foreground" > # Create Docker Volume for data persistence</ p >
49
- < p > docker volume create pb_data</ p >
50
- </ div >
51
47
< div >
52
48
< p className = "text-muted-foreground" > # Docker Run Command</ p >
53
- < p > docker run --name checkcle --restart unless-stopped -p 8090:8090 -v pb_data:/app/pb_data --ulimit nofile=4096:8192 operacle/checkcle:latest
49
+ < p >
50
+ < pre className = "whitespace-pre-wrap" >
51
+ { `
52
+ docker run -d \
53
+ --name checkcle \
54
+ --restart unless-stopped \
55
+ -p 8090:8090 \
56
+ -v /opt/pb_data:/mnt/pb_data \
57
+ --ulimit nofile=4096:8192 \
58
+ operacle/checkcle:latest
59
+
60
+ ` }
61
+ </ pre >
62
+
54
63
</ p >
55
64
</ div >
56
65
</ div >
@@ -77,22 +86,23 @@ const Installation = () => {
77
86
< div className = "bg-muted rounded-lg p-4 font-mono text-sm space-y-2" >
78
87
< p className = "text-muted-foreground" > # Create docker-compose.yml</ p >
79
88
< pre className = "whitespace-pre-wrap" >
80
- { `services:
89
+ { `
90
+ version: '3.9'
91
+
92
+ services:
81
93
checkcle:
82
94
image: operacle/checkcle:latest
83
95
container_name: checkcle
84
96
restart: unless-stopped
85
97
ports:
86
98
- "8090:8090" # Web Application
87
99
volumes:
88
- - pb_data:/app /pb_data # Ensure persistent data across rebuilds
100
+ - /opt/ pb_data:/mnt /pb_data # Host directory mapped to container path
89
101
ulimits:
90
102
nofile:
91
103
soft: 4096
92
104
hard: 8192
93
105
94
- volumes:
95
- pb_data: # Docker-managed volume for data persistence
96
106
97
107
` }
98
108
</ pre >
You can’t perform that action at this time.
0 commit comments