This commit is contained in:
pwn
2025-12-14 14:51:36 +03:00
parent 9b66143f5a
commit 5e647e068d
5 changed files with 170 additions and 6 deletions

View File

@@ -1,11 +1,15 @@
services:
chip_manager_service:
build: build/service/
build:
context: build/service/
dockerfile: Dockerfile
restart: unless-stopped
env_file:
- path: ./.env
ports:
- "1224:1224"
volumes:
- ./security.db:/home/security.db
deploy:
resources:
limits:
@@ -14,10 +18,15 @@ services:
logging:
driver: "json-file"
options:
max-size: "10k"
max-file: "3"
max-size: "10m"
max-file: "5"
networks:
- neuralink
healthcheck:
test: ["CMD", "nc", "-z", "localhost", "1224"]
interval: 10s
timeout: 5s
retries: 3
db:
build: build/database/
restart: unless-stopped