rubypitaya 2.18.0 → 2.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rubypitaya/app-template/Gemfile +1 -1
- data/lib/rubypitaya/app-template/Gemfile.lock +7 -8
- data/lib/rubypitaya/app-template/Makefile +1 -1
- data/lib/rubypitaya/app-template/Rakefile +5 -10
- data/lib/rubypitaya/app-template/app/bll/player_bll.rb +1 -1
- data/lib/rubypitaya/app-template/app/config/initial_player.json +4 -1
- data/lib/rubypitaya/app-template/app/setup/rubypitaya.yml +27 -0
- data/lib/rubypitaya/app-template/bin/console +1 -2
- data/lib/rubypitaya/app-template/docker-compose.yml +0 -11
- data/lib/rubypitaya/app-template/docker/dev/Dockerfile +11 -6
- data/lib/rubypitaya/app-template/docker/entrypoint.sh +5 -4
- data/lib/rubypitaya/app-template/docker/prod/Dockerfile +16 -7
- data/lib/rubypitaya/app-template/docker/wait_for.sh +184 -0
- data/lib/rubypitaya/app-template/features/player.feature +1 -1
- data/lib/rubypitaya/app-template/helm/Chart.yaml +4 -0
- data/lib/rubypitaya/app-template/helm/templates/config-maps/nginx-config.yaml +9 -0
- data/lib/rubypitaya/app-template/helm/templates/deployments/connector.yaml +38 -0
- data/lib/rubypitaya/app-template/helm/templates/deployments/gameserver-nginx.yaml +40 -0
- data/lib/rubypitaya/app-template/helm/templates/deployments/rubypitaya.yaml +67 -0
- data/lib/rubypitaya/app-template/helm/templates/role-bindings/rubypitaya.yaml +12 -0
- data/lib/rubypitaya/app-template/helm/templates/roles/rubypitaya.yaml +31 -0
- data/lib/rubypitaya/app-template/helm/templates/service-accounts/rubypitaya.yaml +4 -0
- data/lib/rubypitaya/app-template/helm/templates/services/connector.yaml +13 -0
- data/lib/rubypitaya/app-template/helm/templates/services/etcd.yaml +18 -0
- data/lib/rubypitaya/app-template/helm/templates/services/gameserver-nginx.yaml +20 -0
- data/lib/rubypitaya/app-template/helm/templates/services/gameserver.yaml +20 -0
- data/lib/rubypitaya/app-template/helm/templates/services/nats.yaml +13 -0
- data/lib/rubypitaya/app-template/helm/templates/services/redis.yaml +14 -0
- data/lib/rubypitaya/app-template/helm/templates/services/rubypitaya.yaml +13 -0
- data/lib/rubypitaya/app-template/helm/templates/statefulsets/etcd.yaml +28 -0
- data/lib/rubypitaya/app-template/helm/templates/statefulsets/nats.yaml +26 -0
- data/lib/rubypitaya/app-template/helm/templates/statefulsets/redis.yaml +26 -0
- data/lib/rubypitaya/app-template/helm/values.yaml +36 -0
- data/lib/rubypitaya/app-template/kubernetes/deployment-rubypitaya.yaml +10 -14
- data/lib/rubypitaya/app-template/spec/player_handler_spec.rb +4 -3
- data/lib/rubypitaya/core/config.rb +10 -1
- data/lib/rubypitaya/core/database_config.rb +15 -10
- data/lib/rubypitaya/core/handler_base.rb +11 -0
- data/lib/rubypitaya/core/handler_router.rb +3 -11
- data/lib/rubypitaya/core/helpers/setup_helper.rb +1 -2
- data/lib/rubypitaya/core/http_routes.rb +33 -3
- data/lib/rubypitaya/core/main.rb +16 -13
- data/lib/rubypitaya/core/path.rb +0 -2
- data/lib/rubypitaya/core/setup.rb +10 -0
- data/lib/rubypitaya/core/spec-helpers/config_spec_helper.rb +2 -2
- data/lib/rubypitaya/core/spec-helpers/handler_spec_helper.rb +3 -1
- data/lib/rubypitaya/version.rb +1 -1
- metadata +37 -18
- data/lib/rubypitaya/app-template/app/setup/initial_player.yml +0 -2
- data/lib/rubypitaya/app-template/config/database.yml +0 -20
@@ -1,20 +0,0 @@
|
|
1
|
-
default: &default
|
2
|
-
adapter: postgresql
|
3
|
-
encoding: unicode
|
4
|
-
pool: <%= ENV['RUBYPITAYA_MAX_THREADS'] { 5 } %>
|
5
|
-
host: <%= ENV['DATABASE_HOST'] %>
|
6
|
-
user: <%= ENV['DATABASE_USER'] %>
|
7
|
-
password: <%= ENV['DATABASE_PASSWORD'] %>
|
8
|
-
|
9
|
-
development:
|
10
|
-
<<: *default
|
11
|
-
database: <%= "#{ENV['DATABASE_NAME']}" %>
|
12
|
-
|
13
|
-
test:
|
14
|
-
<<: *default
|
15
|
-
database: <%= "#{ENV['DATABASE_NAME']}_test" %>
|
16
|
-
|
17
|
-
production:
|
18
|
-
<<: *default
|
19
|
-
database: <%= "#{ENV['DATABASE_NAME']}" %>
|
20
|
-
|