set memcached size

This commit is contained in:
cupcakearmy 2022-03-01 00:53:34 +01:00
parent a061b540b1
commit 1adf87b884
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ RUN pnpm install
RUN pnpm run build
# Rust
FROM rust:1.56-alpine as RUST
FROM rust:1.59-alpine as RUST
WORKDIR /tmp
RUN apk add libc-dev openssl-dev alpine-sdk

View File

@ -7,7 +7,7 @@ services:
memcached:
image: memcached:1-alpine
restart: unless-stopped
entrypoint: memcached -m 128M -I 4M
entrypoint: memcached -m 256M -I 128M
ports:
- 11211:11211
@ -16,6 +16,6 @@ services:
depends_on:
- memcached
environment:
SIZE_LIMIT: 4M
SIZE_LIMIT: 128M
ports:
- 80:5000

View File

@ -3,7 +3,7 @@ version: '3.8'
services:
memcached:
image: memcached:1-alpine
entrypoint: memcached -m 128 # Limit to 128 MB Ram, customize at free will.
entrypoint: memcached -m 256 -I 128 # Limit to 128 MB Ram, customize at free will. -m must be at least double than -I.
app:
image: cupcakearmy/cryptgeon:latest