feat: update safeline 9.0.3

This commit is contained in:
xiaoY233
2025-07-14 16:37:18 +08:00
parent f3fdda557b
commit 5a1611a284
3 changed files with 39 additions and 43 deletions
@@ -5,7 +5,7 @@ services:
networks:
1panel-network:
ipv4_address: ${SUBNET_PREFIX}.234
image: chaitin/safeline-mgt:8.10.1
image: chaitin/safeline-mgt:9.0.3
volumes:
- /etc/localtime:/etc/localtime:ro
- ${SAFELINE_DIR}/resources/mgt:/app/data
@@ -20,14 +20,13 @@ services:
- MGT_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
logging:
options:
max-size: "100m"
max-file: "5"
max-size: 100m
max-file: '5'
depends_on:
- safeline-pg
- safeline-fvm
labels:
createdBy: Apps
safeline-detector:
container_name: ${CONTAINER_NAME}-detector
restart: always
@@ -43,7 +42,6 @@ services:
- LOG_DIR=/logs/detector
labels:
createdBy: Apps
safeline-tengine:
container_name: ${CONTAINER_NAME}-tengine
restart: always
@@ -65,7 +63,6 @@ services:
network_mode: host
labels:
createdBy: Apps
safeline-luigi:
container_name: ${CONTAINER_NAME}-luigi
restart: always
@@ -80,14 +77,13 @@ services:
- MGT_IP=${SUBNET_PREFIX}.234
logging:
options:
max-size: "100m"
max-file: "5"
max-size: 100m
max-file: '5'
depends_on:
- safeline-detector
- safeline-mgt
labels:
createdBy: Apps
safeline-fvm:
container_name: ${CONTAINER_NAME}-fvm
restart: always
@@ -99,11 +95,10 @@ services:
- /etc/localtime:/etc/localtime:ro
logging:
options:
max-size: "100m"
max-file: "5"
max-size: 100m
max-file: '5'
labels:
createdBy: Apps
safeline-pg:
container_name: ${CONTAINER_NAME}-pg
restart: always
@@ -117,12 +112,14 @@ services:
environment:
- POSTGRES_USER=safeline-ce
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
command: [postgres, -c, max_connections=600]
command:
- postgres
- -c
- max_connections=600
healthcheck:
test: pg_isready -U safeline-ce -d safeline-ce
labels:
createdBy: Apps
safeline-chaos:
container_name: ${CONTAINER_NAME}-chaos
restart: always
@@ -132,14 +129,13 @@ services:
image: chaitin/safeline-chaos:8.10.1
logging:
options:
max-size: "100m"
max-file: "5"
max-size: 100m
max-file: '5'
volumes:
- ${SAFELINE_DIR}/resources/sock:/app/sock
- ${SAFELINE_DIR}/resources/chaos:/app/chaos
labels:
createdBy: Apps
networks:
1panel-network:
external: true