* chore(docker): add healthcheck to service in docker-compose.yml and update deploy workflow to include docker compose down * refactor(orders): add useOrdersInfiniteQuery for improved pagination and add load more button in orders list components * refactor(graphql): remove NotifyService and related notification logic from orders and API, clean up unused dependencies * refactor(api): streamline customer, order, service, and slot actions by wrapping server functions with client action utility to rethrow error messages to client
31 lines
495 B
YAML
31 lines
495 B
YAML
services:
|
|
web:
|
|
image: vchikalkin/zapishis-web:latest
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3000/"]
|
|
interval: 10s
|
|
timeout: 3s
|
|
retries: 5
|
|
# ports:
|
|
# - 3000:3000
|
|
networks:
|
|
- app
|
|
- web
|
|
bot:
|
|
image: vchikalkin/zapishis-bot:latest
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
networks:
|
|
- app
|
|
|
|
networks:
|
|
app:
|
|
external: true
|
|
web:
|
|
external: true
|
|
|