version: '3.8' services: db: image: postgres:14 restart: always container_name: 'postgres' environment: POSTGRES_PASSWORD: '' POSTGRES_USER: 'postgres' POSTGRES_HOST_AUTH_METHOD: 'trust' ports: - 7432:5432