feat: Standardize sync frequency to minutes, remove Baïkal service from Docker Compose, and utilize a pre-built image for the sync container.

This commit is contained in:
LagoESP
2026-01-15 21:42:12 +01:00
parent cfc6c68aa0
commit a934d01b1b
3 changed files with 21 additions and 35 deletions

View File

@@ -1,18 +1,6 @@
services:
baikal:
image: ckulka/baikal:nginx
container_name: baikal
restart: always
ports:
- "8080:80"
environment:
- BAIKAL_SKIP_SSL_CHECKS=true # Optional, helpful for dev
volumes:
- baikal_data:/var/www/baikal/Specific
- baikal_db:/var/www/baikal/database
baikal-sync:
build: .
image: lagortinez/baikal-sync:latest
container_name: baikal-sync
restart: always
environment:
@@ -20,10 +8,7 @@ services:
- BAIKAL_URL=${BAIKAL_URL}
- BAIKAL_USER=${BAIKAL_USER}
- BAIKAL_PASS=${BAIKAL_PASS}
- SYNC_FREQUENCY=300 # 5 minutes default
depends_on:
- baikal
volumes:
baikal_data:
baikal_db:
- SYNC_FREQUENCY=5 # Minutes
# If your Baikal is on the same host, you might need network_mode: "host"
# or ensure they share a network.
# network_mode: "host"