mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 00:06:28 +00:00
set memcached size
This commit is contained in:
parent
a061b540b1
commit
1adf87b884
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user