Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@
services:
endee-oss:
image: endee-oss:latest
build:
context: .
dockerfile: infra/Dockerfile
container_name: endee-oss
ports:
- "8080:8080"
ulimits:
nofile: 100000
# ----------------------------------------------------
# Logging Configuration Block
logging:
driver: "json-file" # Explicitly use the default driver
driver: "json-file"
options:
# Set the max size of a single log file to 200 megabytes
# Docker rotates the log file when it hits this limit
max-size: "200m"
# Set the maximum number of log files to keep
# (200m * 5 files = 1000m or 1 GB total log space)
max-file: "5"
# ----------------------------------------------------
environment:
NDD_NUM_THREADS: 0
NDD_AUTH_TOKEN: "" # Replace with your auth token
NDD_AUTH_TOKEN: ""
volumes:
- endee-data:/data
restart: unless-stopped

volumes:
# Modify the 'device' path below to change the host directory used for data persistence
endee-data:
# driver: local
# driver_opts:
# type: ext4
# o: bind
# device: ${PWD}/dockerdata
restart: unless-stopped