cryptgeon/docker-compose.dev.yaml

25 lines
433 B
YAML
Raw Permalink Normal View History

2021-05-02 12:02:40 +00:00
# DEV Compose file.
2021-05-02 12:54:57 +00:00
# For a production file see: README.md
2021-05-02 12:02:40 +00:00
2021-05-02 01:07:08 +00:00
services:
redis:
image: redis:7-alpine
2021-05-02 01:07:08 +00:00
ports:
- 6379:6379
2021-05-02 11:53:48 +00:00
app:
2022-11-14 14:47:12 +00:00
build: .
2024-08-25 20:20:29 +00:00
env_file: .env.dev
2021-05-04 17:30:25 +00:00
depends_on:
- redis
2024-03-04 14:15:47 +00:00
restart: unless-stopped
2021-05-02 11:53:48 +00:00
ports:
2024-08-23 12:27:17 +00:00
- 3000:8000
2023-06-23 08:15:31 +00:00
healthcheck:
2024-03-04 14:15:47 +00:00
test: ['CMD', 'curl', '--fail', 'http://127.0.0.1:8000/api/live/']
2023-06-23 08:15:31 +00:00
interval: 1m
timeout: 3s
retries: 2
start_period: 5s