mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-06-27 11:42:38 +00:00
buildpath: add memory limits for mongo, update
This commit is contained in:
@@ -4,13 +4,20 @@ services:
|
|||||||
image: mongo:8.2.11
|
image: mongo:8.2.11
|
||||||
restart: always
|
restart: always
|
||||||
user: root:root
|
user: root:root
|
||||||
|
command: mongod --wiredTigerCacheSizeGB 2
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 6G
|
||||||
|
reservations:
|
||||||
|
memory: 3G
|
||||||
volumes:
|
volumes:
|
||||||
- bpmongo_data:/data/db:Z
|
- bpmongo_data:/data/db:Z
|
||||||
- bpmongo_config:/data/configdb:Z
|
- bpmongo_config:/data/configdb:Z
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
||||||
match_collector:
|
match_collector:
|
||||||
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:f2827f85eb71942bbe905b5d83fefaddc3df8e7d
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-match_collector:d878af6d1a5cb633175515259e27a12c76c4609b
|
||||||
build: ./match_collector
|
build: ./match_collector
|
||||||
volumes:
|
volumes:
|
||||||
- bpcdragon_cache:/cdragon
|
- bpcdragon_cache:/cdragon
|
||||||
@@ -23,7 +30,7 @@ services:
|
|||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:f2827f85eb71942bbe905b5d83fefaddc3df8e7d
|
image: git.vhaudiquet.fr/vhaudiquet/lolstats-frontend:d878af6d1a5cb633175515259e27a12c76c4609b
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in New Issue
Block a user