/playitgg-docker

playit.gg tunnel service but in a Docker container

Primary LanguageDockerfile

Playit Docker image

Playit tunnel service in a Docker Image

Docker Pulls

Usage

Docker

docker run -d \
  --name playit-docker \
  -v playit-volume:/secret \
  pepaondrugs/playitgg-docker:latest

for arm please use

docker run -d \
  --name playit-docker \
  -v playit-volume:/secret \
  pepaondrugs/playitgg-docker:arm

for armv7 please use

docker run -d \
  --name playit-docker \
  -v playit-volume:/secret \
  pepaondrugs/playitgg-docker:armv7   

If you wanted to change the user and/or group, you will need to use an arg

docker run -d \
  --name playit-docker \
  -v playit-volume:/secret \
  --build-arg="PLAYIT_USER_UID=1000" \
  --build-arg="PLAYIT_USER_GID=1000" \
  pepaondrugs/playitgg-docker:latest   

Docker compose

version: "3"

services:
  playit-docker:
    container_name: "playit-docker"
    image: pepaondrugs/playitgg-docker:latest
    volumes:
        - playit-volume:/secret
    restart: unless-stopped
volumes:
    playit-volume:
        external: false

Or Docker compose for arm

version: "3"

services:
  playit-docker:
    container_name: "playit-docker"
    image: pepaondrugs/playitgg-docker:arm
    volumes:
        - playit-volume:/secret
    restart: unless-stopped
volumes:
    playit-volume:
        external: false

Or Docker compose for armv7 so 32bit

version: "3"

services:
  playit-docker:
    container_name: "playit-docker"
    image: pepaondrugs/playitgg-docker:armv7
    volumes:
        - playit-volume:/secret
    restart: unless-stopped
volumes:
    playit-volume:
        external: false

Docker Compose to change the user and/or group

version: "3"

services:
  playit-docker:
    build:
      args:
        PLAYIT_USER_UID: 1000
        PLAYIT_USER_GID: 1000
    container_name: "playit-docker"
    image: pepaondrugs/playitgg-docker:latest
    volumes:
        - playit-volume:/secret
    restart: unless-stopped
volumes:
    playit-volume:
        external: false

If you want to claim the agent have a look at the log

docker logs playit-docker
link=https://playit.gg/claim/#######

If anything doesnt work dont hesitate to open a issue