Skip to content

Commit

Permalink
Update docker-compose.endlessh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arsalanses authored Nov 22, 2023
1 parent f3b029c commit 24d3b0b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions endlessh/templates/docker-compose.endlessh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ services:
- MAXCLIENTS=4096 #optional
- LOGFILE=false #optional
- BINDFAMILY=4 #optional
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
deploy:
resources:
limits:
cpus: '0.50'
memory: 50M
# reservations:
# cpus: '0.25'
# memory: 512M
healthcheck:
test: [ "CMD", "nc", "-vzw2", "127.0.0.1", "2222" ]
interval: 60s
timeout: 10s
retries: 2
start_period: 10s
# volumes:
# - /path/to/appdata:/config #optional
ports:
Expand Down

0 comments on commit 24d3b0b

Please sign in to comment.