version: '3.8' services: db: image: postgres restart: on-failure env_file: - .env ports: - "5430:5432"