version: '3.9'
services:
bot:
build:
context: .
target: development
env_file: .env
volumes:
- ./:/opt/app
postgresql:
image: postgres:14
restart: unless-stopped
container_name: bot-db
- bot-db:/var/lib/postgresql/data/
bot-db: