mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-09-26 20:41:45 +00:00
first v3
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# For a production file see: README.md
|
||||
|
||||
services:
|
||||
redis:
|
||||
cache:
|
||||
image: valkey/valkey:7-alpine
|
||||
# This is required to stay in RAM only.
|
||||
command: valkey-server --save "" --appendonly no
|
||||
@@ -19,14 +19,14 @@ services:
|
||||
build: .
|
||||
env_file: .env.dev
|
||||
depends_on:
|
||||
- redis
|
||||
- cache
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 3000:8000
|
||||
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '--fail', 'http://127.0.0.1:8000/api/live/']
|
||||
test: ['CMD', 'curl', '--fail', 'http://127.0.0.1:8000/healthz']
|
||||
interval: 1m
|
||||
timeout: 3s
|
||||
retries: 2
|
||||
start_period: 5s
|
||||
start_period: 5s
|
||||
Reference in New Issue
Block a user