mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-24 01:06:26 +00:00
26 lines
421 B
YAML
26 lines
421 B
YAML
# DEV Compose file.
|
|
# For a production file see: README.md
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
redis:
|
|
image: redis:7-alpine
|
|
ports:
|
|
- 6379:6379
|
|
|
|
app:
|
|
build: .
|
|
env_file: .dev.env
|
|
depends_on:
|
|
- redis
|
|
ports:
|
|
- 1234:8000
|
|
|
|
healthcheck:
|
|
test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/api/live/"]
|
|
interval: 1m
|
|
timeout: 3s
|
|
retries: 2
|
|
start_period: 5s
|