cryptgeon/docker-compose.dev.yaml

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