services: postgres: image: postgres:14 container_name: cucumber_database environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: 12345 POSTGRES_DB: main_database ports: - "5438:5432" volumes: - postgres_data:/var/lib/postgresql/data volumes: postgres_data: driver: local