Installing Pterodactyl in Alpine
- hosting
- servers
- infrastructure
- runner
- alpine
- docker
- pterodactyl
Requirements¶
- A hypervisor, such as Proxmox
- A VM
- Allocated with enough space for game Server(s)
- Allocated with enough Ram and CPU cores for said servers
- Allocated with a GPU optional probably maybe useful down the road. if you can.
- Installed with a base image of Alpine
- Enable the Alpine Community repository
- apk add nano
- nano /etc/apk/repositories
- uncomment
Install Alpine and dependencies¶
Allocate a VM, git it some space for a game server. It depends on what game you want to host, some will require a boatload of space. It's beyond the scope of this document to tell you how much space you'll need for X game.
Alpine and Docker require around 300GB of space.
apk add docker git bash docker-compose
rc-update add docker boot
service docker start
git clone https://github.com/ccarney16/pterodactyl-containers.git
cd pterodactyl-containers/
bash bin/deploy -c minimal
nano docker-compose.yml
ports:
- 80:80
##
# -- Pterodactyl Panel --
# This is the container that provides the main web interface.
##
panel:
env_file: ./conf.d/panel.env
image: docker.io/ccarney16/pterodactyl-panel:${PANEL_VERSION:-latest}
profiles: [ panel ]
restart: always
ports:
- 80:80
volumes:
- ./data/panel:/data
depends_on:
mariadb:
condition: service_started
redis:
condition: service_started
##
Check the config file (s)¶
nano conf.d/panel.env
Bring it up¶
docker-compose up -d
Potential Issues¶
With the default KVM64 in proxmox qemu the docker logs for the launched panel and other things were giving errors due to missing cpu extensions, specifically Fatal glibc error: CPU does not support x86-64-v2 .
I set CPU to host in proxmox, restarted the vm, and it seems to be coming up.
Setup initial user¶
bin/artisan p:user:make
Outside Resources¶
The quickstart guide: https://github.com/ccarney16/pterodactyl-containers/wiki/Quick-Start