1 2 3 4 5 6 7 8
services: postgres: image: postgres:18 restart: unless-stopped environment: POSTGRES_HOST_AUTH_METHOD: trust ports: - "5432:5432"