mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
44f2777067
commit
3181d9b947
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,7 @@ services:
|
||||||
image: memcached:alpine
|
image: memcached:alpine
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
command: >
|
command: >
|
||||||
sh -c "memcached -m 128 -c 1024 -t $(nproc) -vv"
|
sh -c "memcached -m 128 -c 1024 -t ${NPROC:-2} -vv"
|
||||||
ports:
|
ports:
|
||||||
- "${MEMCACHE_PORT:-11211}:11211"
|
- "${MEMCACHE_PORT:-11211}:11211"
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -244,6 +244,8 @@ services:
|
||||||
memory: '512M'
|
memory: '512M'
|
||||||
networks:
|
networks:
|
||||||
- app_net
|
- app_net
|
||||||
|
environment:
|
||||||
|
- NPROC=${NPROC:-2}
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
app_net:
|
app_net:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue