mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-22 08:16: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
|
RUN pnpm run build
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
FROM rust:1.56-alpine as RUST
|
FROM rust:1.59-alpine as RUST
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apk add libc-dev openssl-dev alpine-sdk
|
RUN apk add libc-dev openssl-dev alpine-sdk
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
memcached:
|
memcached:
|
||||||
image: memcached:1-alpine
|
image: memcached:1-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
entrypoint: memcached -m 128M -I 4M
|
entrypoint: memcached -m 256M -I 128M
|
||||||
ports:
|
ports:
|
||||||
- 11211:11211
|
- 11211:11211
|
||||||
|
|
||||||
@ -16,6 +16,6 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- memcached
|
- memcached
|
||||||
environment:
|
environment:
|
||||||
SIZE_LIMIT: 4M
|
SIZE_LIMIT: 128M
|
||||||
ports:
|
ports:
|
||||||
- 80:5000
|
- 80:5000
|
||||||
|
@ -3,7 +3,7 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
memcached:
|
memcached:
|
||||||
image: memcached:1-alpine
|
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:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user