Skip to content

gruppe-adler/arsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

arsa - Arma Reforger Server Admin

Frontend

https://github.com/gruppe-adler/arsa-frontend

Backend

https://github.com/gruppe-adler/arsa-backend

Installation Linux

Docker Host

Backend

gh repo clone gruppe-adler/arsa-backend
  • check the current group id (GID) of docker
getent group | grep docker
  • build backend and ars container using the above mentioned GID
cd ~/arsa-backend (or wherever you cloned the repo)
docker build -t arsa-backend .
docker build -t ars ./ars
// use --build-arg DOCKER_GID=988 or similar to adjust GID

// or if deno is used
deno task docker
deno task docker-ars

Frontend

gh repo clone gruppe-adler/arsa-frontend
# .env.production
VITE_API_URL=arsa.gruppe-adler.de
  • build frontend container
cd ~/arsa-frontend (or wherever you cloned the repo)
npm run build
npm run docker

Start

gh repo clone gruppe-adler/arsa
  • start backend and frontend with:
cd ~/arsa (or wherever you cloned the repo)
docker compose up -d
  • allow the following ports on your firewall 80, 3000 and for the default ars 2001, 17777, 19999
  • now you can access arsa on port 80 of the docker host

Stop

  • stop backend and frontend with:
cd ~/arsa (or wherever you cloned the repo)
docker compose down