mk-dl-bot_legacy/docker-compose.yml
2024-03-09 07:23:26 +02:00

23 lines
No EOL
374 B
YAML

services:
postgresdb:
image: postgres:alpine
env_file:
- .env
volumes:
- db:/var/lib/postgres
healthcheck:
test: ["CMD", "pg_isready"]
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
bot:
build: .
env_file:
- .env
depends_on:
- postgresdb
restart: on-failure
volumes:
db: