[#7] 自动重启

This commit is contained in:
yuyr 2025-09-29 11:34:46 +08:00
parent 74fa58f82a
commit e133d007f3
2 changed files with 6 additions and 2 deletions

View File

@ -4,13 +4,13 @@ services:
container_name: argus-bind-agent-e2e
volumes:
- ./private:/private
restart: unless-stopped
networks:
default:
ipv4_address: 172.28.0.2
environment:
- "ARGUS_BUILD_UID=${ARGUS_BUILD_UID:-2133}"
- "ARGUS_BUILD_GID=${ARGUS_BUILD_GID:-2015}"
restart: always
master:
image: argus-master:latest
@ -32,6 +32,7 @@ services:
networks:
default:
ipv4_address: 172.28.0.10
restart: always
agent:
image: ubuntu:22.04
@ -57,6 +58,7 @@ services:
networks:
default:
ipv4_address: 172.28.0.20
restart: always
networks:
default:

View File

@ -17,6 +17,7 @@ services:
interval: 10s
timeout: 5s
retries: 30
restart: always
kibana:
build:
@ -73,10 +74,11 @@ services:
interval: 15s
timeout: 10s
retries: 30
restart: always
bind9:
image: argus-bind9:latest
volumes:
- ./private/argus:/private/argus/
restart: unless-stopped
restart: always