This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrivet.yaml
71 lines (60 loc) · 1.99 KB
/
rivet.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# === Rivet Version Configuration ===
#
# - More info: https://docs.rivet.gg/general/concepts/rivet-version-config
# - Reference: https://docs.rivet.gg/cloud/api/post-games-versions#body
# - Publish a new version with `rivet publish`
#
scripts:
start: npm run start
# How the game lobbies run and how players connect to the game.
#
# https://docs.rivet.gg/matchmaker/introduction
matchmaker:
# How many players can join a specific lobby.
#
# Read more about matchmaking: https://docs.rivet.gg/matchmaker/concepts/finding-lobby
max_players: 32
# The hardware to provide for lobbies.
#
# Available tiers: https://docs.rivet.gg/serverless-lobbies/concepts/available-tiers
tier: basic-1d1
# Which regions the game should be available in.
#
# Available regions: https://docs.rivet.gg/serverless-lobbies/concepts/available-regions
matchmaker:
regions:
atl: {}
fra: {}
# Runtime configuration for the lobby's Docker container.
docker:
# If you're unfamiliar with Docker, here's how to write your own
# Dockerfile:
# https://docker-curriculum.com/#dockerfile
dockerfile: Dockerfile
# Which ports to allow players to connect to. Multiple ports can be defined
# with different protocols.
#
# How ports work: https://docs.rivet.gg/serverless-lobbies/concepts/ports
ports:
default:
port: 3000
# What game modes are available.
#
# Properties like `max_players`, `tier`, `dockerfile`, `regions`, and more can
# be overridden for specific game modes.
game_modes:
default: {}
# How Rivet CDN should host your static assets on our CDN.
#
# https://docs.rivet.gg/cdn/introduction
cdn:
# Command to run before uploading the site to Rivet. This can be used to
# build any JavaScript bundles or generate assets.
build_command: npm install && npm run build:client:prod
# The folder to upload to Rivet.
#
# If you're hosting a website, ensure that `index.html` is in the root of
# this folder.
build_output: ./dist/
kv: {}
identity: {}