version: "3.9" services: postgres: image: postgres restart: always environment: POSTGRES_USER: postgres POSTGRES_DB: groupme POSTGRES_PASSWORD: postgres ports: - "5432:5432"