website logo
⌘K
What is Gameye?
Getting started
Getting ready to start
1. Set up your Docker Hub account
2: Set up your organization on Gameye
3. Sort and push your Docker file
4. Configure your ports
5. Start the API call
API
API endpoints
Regions and locations
Error handling
Guides
Integrations
Using Gameye
Working with Docker
Support
Getting support
Giving feedback
Troubleshooting
Troubleshooting problems
FAQs
How do I start using Gameye?
Do you require authorisation to use the API?
How does Gameye scale?
What is the difference between a location and a region?
Is Gameye free to use?
FAQs
Glossary
Docker
Container
Region
Image Registry
Bare metal
Flex metal
Cloud
Matchmaker
Changelogs
Docs powered by
Archbee
Guides
Using Gameye

Using variables

2min

We have some built-in environment variables that you can use.

Name

Description

Example value

GAMEYE_SESSION_ID

Returns the UUID we used to start the session on Gameye.

MatchServerijsrr1fklsc5alpa3nvr20

GAMEYE_HOST

Returns the session host IP.

196.235.141.34

GAMEYE_PORT{PROTOCOL}_{NUMBER}

The port number(s) used to start the container.

GAMEYE_PORT_UDP_7777":"39345

GAMEYE_PORT_TCP_8080":"36913

You can also create your own tags, which you can add to the sessions you create. This is included in the labels property of the APIs.

Name

Description

Example Value

MY_CUSTOM_VAR

Your own custom variable.

value

Labels

Added through the API call.

tag 1, tag 2, tag 3



Updated 19 Sep 2023
Did this page help you?
PREVIOUS
Using container labels
NEXT
Selecting the correct build
Docs powered by
Archbee
Docs powered by
Archbee