cryptgeon/docker-compose.dev.yaml

25 lines
433 B
YAML
Raw Normal View History

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