heart2heart/docker-compose.yml

19 lines
422 B
YAML

services:
meets:
build: .
depends_on:
- postgresql
env_file: meets.env
volumes:
- ./bot_data:/usr/src/app/bot_data
- type: bind
source: ./config.json
target: /usr/src/app/config.json
postgresql:
healthcheck:
test: ["CMD", "pg_isready", "-U", "meets"]
image: "postgres:15"
env_file: meets.env
volumes:
- ./postgres:/var/lib/postgresql/data