services: bot: build: context: bot restart: always postgres: image: postgres:15.1 restart: always volumes: - ./postgres_data:/var/lib/postgresql/data/:Z environment: POSTGRES_USER: user POSTGRES_PASSWORD: password POSTGRES_DB: db