GSN Selector is a game server orchestration service designed to integrate with DeMoD Cloud Fabric
587
GSN Selector is a game server orchestration service designed to integrate with the DeMoD Cloud Fabric (DCF) ecosystem. It manages the lifecycle of game server containers based on user authentication, account balance, and bandwidth quotas.
The service acts as a bridge between the DCF-ID authentication system and a local Docker engine. It ensures that game servers are only provisioned for authorized users who meet the minimum requirements for server uptime and data usage.
The container requires access to the host Docker socket to manage game server containers. Use the following command to start the service:
docker run -d \
--name gsn-selector \
-p 8080:8080 \
-v /var/run/docker.sock:/var/run/docker.sock \
-e DCF_ID_URL=http://dcf-id-api:4000 \
-e METER_URL=http://gsn-meter:9000 \
-e DCF_ID_INTERNAL_KEY=your_secret_key \
alh477/gsn-selector:latest
| Variable | Description | Default |
|---|---|---|
MAX_ACTIVE_SERVERS | Maximum concurrent game servers allowed. | 2 |
DCF_ID_URL | Endpoint for the DCF-ID authentication service. | http://dcf-id:4000 |
METER_URL | Endpoint for the GSN-Meter session service. | http://gsn-meter:9000 |
MIN_BALANCE_TO_START | Minimum account balance required to start a server. | 0.0 |
PUBLIC_HOST | The public hostname for server connection strings. | dcf.demod.ltd |
Copyright (c) 2025-2026, DeMoD LLC. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Content type
Image
Digest
sha256:40485fde2…
Size
7 MB
Last updated
8 months ago
docker pull alh477/gsn-selector