Callum027 / ansible-collection-palworld-dedicated-server

Ansible collection for Palworld Dedicated Server
GNU General Public License v3.0
0 stars 0 forks source link

Add support for service users and custom UID/GIDs #2

Closed Callum027 closed 4 months ago

Callum027 commented 5 months ago

Currently, the container we are using only allows the Docker user to be 1000:1000.

https://github.com/jammsen/docker-palworld-dedicated-server/issues/117

Ideally, we want to create a proper service user (e.g. palworld) with the correct UID/GID and permissions, but these need to be unique, and 1000 is almost always reserved for a human user.

Callum027 commented 4 months ago

To preserve backwards compatibility, make service users an opt-in feature (using a palworld_dedicated_server_service_user_enable flag).

We can make this true by default in the next major version.

Callum027 commented 4 months ago

Custom UID/GIDs are now supported in the upstream container. I've now created a PR for adding support in the Ansible collection.