Sign inSign up

nopenix/restps

By nopenix

•Updated about 3 years ago

RestPS PowerShell Container

Image
1

499

nopenix/restps repository overview

GitHub Workflow Status GitHub issues Docker Stars GitHub Repo stars

⁠RestPS

General use RestPS PowerShell Container for x64 Platforms and arm64v8 (via the :arm64v8 Tag). RestPS is a awesome super easy to use PowerShell Module. I made a Container out of it.

⁠RestPS is not build by me please check out the original Repo on Github: https://github.com/jpsider/RestPS⁠ don't forget to leave a Star

⁠Getting Started

⁠RestPS Module

RestPS is easy and learned within 2 minutes but you have to check it out first⁠.

⁠Quick test

You can start the container with just Port 80 exposed and try to access either /endpoint/status (which will return a 1) or /proc (which will return all running processes in the container, long ugly JSON List) to get your first response

⁠Running on your own Endpoints JSON and implementing your own Script

⁠docker-compose.yml
version: "3"

services:
  restps:
    image: nopenix/restps:latest
    restart: unless-stopped
    ports:
      - 80:80
    volumes:
      - /path/to/your/endpoints.json:/app/endpoints.json # mounting endpoints file
      #- /path/to/a/powershell-script.ps1:/app/script.ps1 # do not forget to mount your Scripts!
    environment: 
      port: 80
      path_to_endpoints_json_file: /app/endpoints.json # using the in the volumes block previous mounted endpoints file

⁠Env Variables

VariableEffect
portSpecify the Port RestPS should listen on
path_to_endpoints_json_filePath to the JSON Endpoints definition file

Tag summary

Content type

Image

Digest

sha256:ef19f00f1…

Size

92.3 MB

Last updated

about 3 years ago

docker pull nopenix/restps