cryptgeon/docker-compose.dev.yaml

27 lines
449 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
version: '3.8'
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: .
2022-11-14 14:55:49 +00:00
env_file: .dev.env
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:
2023-01-13 18:36:26 +00:00
- 1234: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