2021-12-16 13:54:15 +01:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
2022-07-16 14:16:54 +02:00
|
|
|
redis:
|
|
|
|
image: redis:7-alpine
|
2025-02-27 19:38:07 +01:00
|
|
|
# This is required to stay in RAM only.
|
|
|
|
command: redis-server --save "" --appendonly no
|
|
|
|
# Additionally, you can set a size limit. See link below on how to customise.
|
|
|
|
# https://redis.io/docs/manual/eviction/
|
|
|
|
# --maxmemory 1gb --maxmemory-policy allkeys-lru
|
2021-12-16 13:54:15 +01:00
|
|
|
|
|
|
|
app:
|
|
|
|
image: cupcakearmy/cryptgeon:latest
|
|
|
|
depends_on:
|
2022-07-16 14:16:54 +02:00
|
|
|
- redis
|
2025-02-27 19:38:07 +01:00
|
|
|
|
2021-12-16 13:54:15 +01:00
|
|
|
proxy:
|
|
|
|
image: nginx:alpine
|
|
|
|
depends_on:
|
|
|
|
- app
|
|
|
|
volumes:
|
|
|
|
- ./nginx-plain.conf:/etc/nginx/conf.d/default.conf
|
|
|
|
# Or with tls
|
|
|
|
# - ./nginx-tls.conf:/etc/nginx/conf.d/default.conf
|
|
|
|
ports:
|
|
|
|
- 80:80
|