Fixed: combines new build-based setup with persistent data using Host (volume) directory mapped to container path
This commit is contained in:
+3
-5
@@ -1,3 +1,4 @@
|
|||||||
|
version: '3.9'
|
||||||
services:
|
services:
|
||||||
checkcle:
|
checkcle:
|
||||||
image: operacle/checkcle:latest
|
image: operacle/checkcle:latest
|
||||||
@@ -6,11 +7,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8090:8090" # Web Application
|
- "8090:8090" # Web Application
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/app/pb_data # Ensure persistent data across rebuilds
|
- /opt/pb_data:/mnt/pb_data # Host directory mapped to container path
|
||||||
ulimits:
|
ulimits:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 4096
|
soft: 4096
|
||||||
hard: 8192
|
hard: 8192
|
||||||
|
|
||||||
volumes:
|
|
||||||
pb_data: # Docker-managed volume for data persistence
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
checkcle:
|
checkcle:
|
||||||
build:
|
build:
|
||||||
@@ -6,13 +8,10 @@ services:
|
|||||||
container_name: checkcle
|
container_name: checkcle
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8090:8090" # Allow access to frontend + PocketBase
|
- "8090:8090"
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/app/pb_data # Ensure persistent data across rebuilds
|
- /var/pb_data:/mnt/pb_data # Updated mount target to match CMD in Dockerfile
|
||||||
ulimits:
|
ulimits:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 4096
|
soft: 4096
|
||||||
hard: 8192
|
hard: 8192
|
||||||
|
|
||||||
volumes:
|
|
||||||
pb_data: # Docker-managed volume for persistence
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
checkcle:
|
checkcle:
|
||||||
image: operacle/checkcle:latest
|
image: operacle/checkcle:latest
|
||||||
@@ -6,11 +8,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8090:8090" # Web Application
|
- "8090:8090" # Web Application
|
||||||
volumes:
|
volumes:
|
||||||
- pb_data:/app/pb_data # Ensure persistent data across rebuilds
|
- /opt/pb_data:/mnt/pb_data # Host directory mapped to container path
|
||||||
ulimits:
|
ulimits:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 4096
|
soft: 4096
|
||||||
hard: 8192
|
hard: 8192
|
||||||
|
|
||||||
volumes:
|
|
||||||
pb_data: # Docker-managed volume for data persistence
|
|
||||||
Reference in New Issue
Block a user