This is for docker playit.gg program, inside the container!
playit has official docker image support now, so this project no longer need it.
Here is beta version of playit.gg container, please follow the step to setup connection.
version: '3'
services:
playit:
container_name: playit
image: ghcr.io/docker-collection/payit-beta:latest
restart: always
volumes:
- ./config:/app/config
-
First copy the docker compose.
-
Create config folder and setup permission
mkdir config sudo chown 1000:1000 config/
-
Start container with
docker compose up -d
, you can seedocker compose logs
it is sleeping, because current not have secret. -
Run
docker compose exec playit ./playit --secret_path config/playit.toml
and follow step to setup, after you see is connected, you can Crtl+C to close it. -
Restart container, and it should connect!
docker compose down docker compose up -d
For docker compose, the network use host to get all local address!
version: "3"
services:
playit:
container_name: playit
image: ghcr.io/docker-collection/payit:latest
network_mode: host
restart: always
volumes:
- "./config:/app/config"
For docker compose, the network uses pterodactyl local network to connect wings deploy the container.
version: "3"
networks:
pterodactyl_network:
name: pterodactyl_nw
external: true
services:
playit:
container_name: playit
image: ghcr.io/docker-collection/payit:latest
networks:
- pterodactyl_network
restart: always
volumes:
- "./config:/app/config"