apgapg
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user