2024-08-03 03:48:20 +03:00
|
|
|
services:
|
|
|
|
meets:
|
2024-08-08 16:08:36 +03:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./deploy/Dockerfile
|
2024-08-03 03:48:20 +03:00
|
|
|
depends_on:
|
2024-08-07 10:34:24 +03:00
|
|
|
postgresql:
|
|
|
|
condition: service_healthy
|
|
|
|
restart: true
|
2024-08-03 03:48:20 +03:00
|
|
|
env_file: meets.env
|
|
|
|
volumes:
|
|
|
|
- ./bot_data:/usr/src/app/bot_data
|
|
|
|
- type: bind
|
|
|
|
source: ./config.json
|
|
|
|
target: /usr/src/app/config.json
|
|
|
|
postgresql:
|
2024-08-05 21:21:43 +03:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "pg_isready", "-U", "meets"]
|
2024-08-07 10:34:24 +03:00
|
|
|
interval: 2s
|
|
|
|
start_period: 2s
|
2024-08-03 03:48:20 +03:00
|
|
|
image: "postgres:15"
|
|
|
|
env_file: meets.env
|
|
|
|
volumes:
|
|
|
|
- ./postgres:/var/lib/postgresql/data
|