Docker repository for Matcha Bookable TF2 image
4.4K
The below scripts are applicable to 99% of the cloud computing providers computing services, GCE/EC2 etc.
This is the script for Container Optimized OS (11 GB Volume), should run as a startup script.
#!/bin/bash
docker run -dit --name tf2 -p 27015:27015/udp -p 27015:27015/tcp -p 27020:27020/udp -p 8080:8080/tcp -e GH_PAT="key" -e MATCHA_API_KEY="key" ghcr.io/matcha-bookable/matcha-docker-tf2:latest
Below is the script used for the Amazon Linux 2023 image (10 GB, GP3/2 Volume). Usually applied as User Data which runs as root on startup.
#!/bin/bash
yum update -y
yum install -y docker
systemctl start docker
systemctl enable docker
usermod -a -G docker ec2-user
docker run -dit --name tf2 --net=host -e GH_PAT="key" -e MATCHA_API_KEY="key" ghcr.io/matcha-bookable/matcha-docker-tf2:latest
docker pull avanavan/matcha-docker-tf2:latest