Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.57 KB

README.md

File metadata and controls

66 lines (43 loc) · 2.57 KB

logo

quakejs-docker

Docker Image CI

Introduction

Fork of treyyoder/quakejs-docker. Fixes few issues in source container, assets are now self hosted.

Includes a CDK deployment to host local server with ip restriction in AWS ECS

Usage

Standalone or internal network

docker run -d --name quakejs -e HTTP_PORT=8080 -p 8080:80 -p 27960:27960 federicobarera2/quakejs:latest

Navigate to http://localhost:8080 or network ip

Fargate

Perform aws cli login

npm i
sh ./deploy.sh [--profile]

After the deploy the retrieve_ip.sh script will retrive the public ip of the fargate task

cdk.json configuration

name desc
whiteListedIps array of ips allowed to connect
usePrebuildImage leave blank to build from local repository (eg, change in server.cfg)
useCapacity FARGATE or FARGATE_SPOT
cpu CPU requested for fargate task
memory memory requested for fargate task

server.cfg:

Refer to quake3world for instructions on its usage.

Changelog

17/07/2022

Credits:

Thanks to treyyoder with his fork of quakejs to which this was derived, aswell as his thorough documentation