mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2025-09-04 00:20:39 +00:00
Merge pull request #179 from larsgerber/main
docs(compose): prevent anonymous volume creation
This commit is contained in:
@@ -108,9 +108,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -93,9 +93,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -74,6 +74,14 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
# This is required to stay in RAM only.
|
||||||
|
command: redis-server --save "" --appendonly no
|
||||||
|
# Set a size limit. See link below on how to customise.
|
||||||
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
@@ -110,9 +118,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -6,9 +6,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
ports:
|
ports:
|
||||||
- 6379:6379
|
- 6379:6379
|
||||||
|
|
||||||
|
@@ -1,9 +1,14 @@
|
|||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
# This is required to stay in RAM only.
|
||||||
|
command: redis-server --save "" --appendonly no
|
||||||
# Set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -5,9 +5,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -111,9 +111,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
|
@@ -20,9 +20,12 @@ services:
|
|||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
# This is required to stay in RAM only.
|
# This is required to stay in RAM only.
|
||||||
command: redis-server --save "" --appendonly no
|
command: redis-server --save "" --appendonly no
|
||||||
# Additionally, you can set a size limit. See link below on how to customise.
|
# Set a size limit. See link below on how to customise.
|
||||||
# https://redis.io/docs/manual/eviction/
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
app:
|
app:
|
||||||
image: cupcakearmy/cryptgeon:latest
|
image: cupcakearmy/cryptgeon:latest
|
||||||
@@ -59,6 +62,14 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
|
# This is required to stay in RAM only.
|
||||||
|
command: redis-server --save "" --appendonly no
|
||||||
|
# Set a size limit. See link below on how to customise.
|
||||||
|
# https://redis.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/
|
||||||
|
# --maxmemory 1gb --maxmemory-policy allkeys-lrulpine
|
||||||
|
# This prevents the creation of an anonymous volume.
|
||||||
|
tmpfs:
|
||||||
|
- /data
|
||||||
|
|
||||||
cryptgeon:
|
cryptgeon:
|
||||||
image: cupcakearmy/cryptgeon
|
image: cupcakearmy/cryptgeon
|
||||||
|
Reference in New Issue
Block a user