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:
|
||||
checkcle:
|
||||
image: operacle/checkcle:latest
|
||||
@@ -6,11 +7,8 @@ services:
|
||||
ports:
|
||||
- "8090:8090" # Web Application
|
||||
volumes:
|
||||
- pb_data:/app/pb_data # Ensure persistent data across rebuilds
|
||||
- /opt/pb_data:/mnt/pb_data # Host directory mapped to container path
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 4096
|
||||
hard: 8192
|
||||
|
||||
volumes:
|
||||
pb_data: # Docker-managed volume for data persistence
|
||||
hard: 8192
|
||||
@@ -1,3 +1,5 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
checkcle:
|
||||
build:
|
||||
@@ -6,13 +8,10 @@ services:
|
||||
container_name: checkcle
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8090:8090" # Allow access to frontend + PocketBase
|
||||
- "8090:8090"
|
||||
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:
|
||||
nofile:
|
||||
soft: 4096
|
||||
hard: 8192
|
||||
|
||||
volumes:
|
||||
pb_data: # Docker-managed volume for persistence
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
checkcle:
|
||||
image: operacle/checkcle:latest
|
||||
@@ -6,11 +8,8 @@ services:
|
||||
ports:
|
||||
- "8090:8090" # Web Application
|
||||
volumes:
|
||||
- pb_data:/app/pb_data # Ensure persistent data across rebuilds
|
||||
- /opt/pb_data:/mnt/pb_data # Host directory mapped to container path
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 4096
|
||||
hard: 8192
|
||||
|
||||
volumes:
|
||||
pb_data: # Docker-managed volume for data persistence
|
||||
hard: 8192
|
||||
Reference in New Issue
Block a user