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 volumes: - bot-db:/var/lib/postgresql/data/ env_file: .env volumes: bot-db: