Skip to content

Commit

Permalink
[digger] fix docker-compose validation
Browse files Browse the repository at this point in the history
  • Loading branch information
keltecc committed Feb 9, 2024
1 parent 6a65ac7 commit c9bdc94
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions services/digger/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
version: '2.2'
version: '2.4'

services:
digger:
build: service
cpus: 2
pids_limit: 32768
mem_limit: 2G
memswap_limit: 2G
ulimits:
nofile:
soft: 32768
hard: 32768
restart: unless-stopped
stop_grace_period: 3s
# stop_grace_period: 3s
volumes:
- storage:/var/digger/storage:rw
ports:
Expand All @@ -23,13 +18,8 @@ services:
cpus: 1
pids_limit: 256
mem_limit: 256M
memswap_limit: 256M
ulimits:
nofile:
soft: 16384
hard: 16384
restart: unless-stopped
stop_grace_period: 3s
# stop_grace_period: 3s
volumes:
- storage:/var/digger/storage:rw
depends_on:
Expand Down

0 comments on commit c9bdc94

Please sign in to comment.