mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-11-01 04:44:16 +01:00
27 lines
638 B
YAML
27 lines
638 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
redis:
|
|
image: redis:7-alpine
|
|
# Set a size limit. See link below on how to customise.
|
|
# https://redis.io/docs/manual/eviction/
|
|
# command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
|
|
|
|
app:
|
|
image: cupcakearmy/cryptgeon:latest
|
|
depends_on:
|
|
- redis
|
|
environment:
|
|
# Size limit for a single note.
|
|
SIZE_LIMIT: 4 MiB
|
|
ports:
|
|
- 80:8000
|
|
|
|
# Optional health checks
|
|
# healthcheck:
|
|
# test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/api/live/"]
|
|
# interval: 1m
|
|
# timeout: 3s
|
|
# retries: 2
|
|
# start_period: 5s
|