BrettMayson / Arma3Server

Docker - Arma 3 Dedicated Server
105 stars 70 forks source link

Docker doesn't appear to be launching headless clients #18

Closed Sylvaeseel closed 2 years ago

Sylvaeseel commented 3 years ago

When launching with headless clients env at anything other than 0, they don't seem to launch with the server in the output. Is there something special you need to do after changing the env variable?

BrettMayson commented 3 years ago

Can you provide more information about your config? The latest version was working for me this past weekend

Sylvaeseel commented 3 years ago

git1 if you meant something else, just let me know but that's how I have it set up

BrettMayson commented 3 years ago

Does your mission have headless client slots?

Sylvaeseel commented 3 years ago

Yes, 3 of them, I'm using KP_Liberation Tanoa, come to think of it though, I haven't checked if the HC slots are setup correctly

Sylvaeseel commented 3 years ago

They are indeed setup correctly

bashbers commented 3 years ago

I've just added a headless_client to my kp_liberation.Altis server and it works perfectly fine. See: image

version: '3.8'
services:
  arma3:
    image: synixebrett/arma3server:latest
    container_name: arma3
    network_mode: host
    volumes:
      - './missions:/arma3/mpmissions'
      - './configs:/arma3/configs'
      - './mods:/arma3/mods'
      - './servermods:/arma3/servermods'
    environment:
      - ARMA_CONFIG=main.cfg
      - STEAM_USER=${STEAMUSER}
      - STEAM_PASSWORD=${STEAMPASSWORD}
      - HEADLESS_CLIENTS=1
    restart: unless-stopped
Sirata89 commented 2 years ago

git1 if you meant something else, just let me know but that's how I have it set up

Which host is this through?

Sylvaeseel commented 2 years ago

It was hosted on my own personal server, but as this was nearly a year ago and was never resolved, I ended up moving to a different image, sorry