A docker image to run Astroneer Dedicated Server using AstroTuxLauncher. The source code is available on GitHub.
services:
astroneer:
image: whalybird/astroneer-server:latest
restart: unless-stopped
container_name: astroneer
stdin_open: true
tty: true
ports:
- 7777:7777/udp
volumes:
- ./saved:/astrotux/AstroneerServer/Astro/Saved
You can interact with the console by using docker attach <container name>
. If you used the compose example from above, that'd be docker attach astroneer
. Detach using CTRL+p
+ CTRL+q
, using CTRL+c
will shutdown the server.
Because Wine doesn't support some of the encryption functionality Astroneer uses, running this container has encryption disabled by default. That means that game clients will only be able to connect if they have encryption disabled as well.
To disable encryption, you need to edit the file Engine.ini
located in %localappdata%\Astro\Saved\Config\WindowsNoEditor
. Make sure the game isn't running and add the following lines to the file:
[SystemSettings]
net.AllowEncryption=False
shutdown the server (docker compose stop
) and edit the file AstroServerSetting.ini
located in ./saves/Config/WindowsServer
. Change the value of OwnerName
to your Steam name and make sure OwnerGuid
is set to 0
. It should look like this:
OwnerName=My Steam Username
OwnerGuid=0
Start the server and make sure you join it before anyone else, as the game will automatically assign the admin/owner role to the first player joining.
If you can't progress past the first mission, you have to start a new game via the "Server admin" tab after connecting to the server. Click on "Manage game session" followed by "Start a new game" (and confirm by clicking "Start a new game" in the popout):