// CONFIG.YML name: nakama1 config: null shutdown_grace_sec: 0 data_dir: /nakama/data logger: level: info stdout: true file: '' rotation: false max_size: 100 max_age: 0 max_backups: 0 local_time: false compress: false format: json metrics: reporting_freq_sec: 60 namespace: '' prometheus_port: 0 prefix: nakama session: encryption_key: defaultencryptionkey token_expiry_sec: 60 refresh_encryption_key: defaultrefreshencryptionkey refresh_token_expiry_sec: 3600 socket: server_key: defaultkey port: 7350 address: '' protocol: tcp max_message_size_bytes: 4096 max_request_size_bytes: 262144 read_buffer_size_bytes: 4096 write_buffer_size_bytes: 4096 read_timeout_ms: 10000 write_timeout_ms: 10000 idle_timeout_ms: 60000 write_wait_ms: 5000 pong_wait_ms: 25000 ping_period_ms: 15000 ping_backoff_threshold: 20 outgoing_queue_size: 64 ssl_certificate: '' ssl_private_key: '' database: address: - 'root@cockroachdb:26257' conn_max_lifetime_ms: 3600000 max_open_conns: 100 max_idle_conns: 100 social: steam: publisher_key: '' app_id: 0 facebook_instant_game: app_secret: '' facebook_limited_login: app_id: '' apple: bundle_id: '' runtime: env: [] path: /nakama/data/modules http_key: defaulthttpkey min_count: 0 lua_min_count: 16 max_count: 0 lua_max_count: 48 js_min_count: 16 js_max_count: 32 call_stack_size: 0 lua_call_stack_size: 128 registry_size: 0 lua_registry_size: 512 event_queue_size: 65536 event_queue_workers: 8 read_only_globals: true lua_read_only_globals: true js_entrypoint: /nakama/build/index.js match: input_queue_size: 128 call_queue_size: 128 join_attempt_queue_size: 128 deferred_queue_size: 128 join_marker_deadline_ms: 15000 max_empty_sec: 0 label_update_interval_ms: 1000 tracker: event_queue_size: 1024 console: port: 7351 address: '' max_message_size_bytes: 4194304 read_timeout_ms: 10000 write_timeout_ms: 60000 idle_timeout_ms: 300000 username: admin password: REDACTED token_expiry_sec: 86400 signing_key: defaultsigningkey leaderboard: blacklist_rank_cache: [] callback_queue_size: 65536 callback_queue_workers: 8 matchmaker: max_tickets: 3 interval_sec: 15 max_intervals: 2 batch_pool_size: 32 iap: apple: shared_password: '' google: client_email: '' private_key: '' huawei: public_key: '' client_id: '' client_secret: '' ============================================================================ docker-compose file version: '3' services: cockroachdb: container_name: cockroachdb image: cockroachdb/cockroach:latest-v20.2 command: start-single-node --insecure --store=attrs=ssd,path=/var/lib/cockroach/ restart: "no" volumes: - data:/var/lib/cockroach expose: - "8080" - "26257" ports: - "26257:26257" - "8080:8080" nakama: container_name: nakama image: heroiclabs/nakama:latest entrypoint: - "/bin/sh" - "-ecx" - > /nakama/nakama migrate up --database.address root@cockroachdb:26257 && exec /nakama/nakama --name nakama1 --database.address root@cockroachdb:26257 && /nakama/nakama --config /nakama/data/config.yml restart: always links: - "cockroachdb:db" depends_on: - cockroachdb volumes: - E:\Work\Unreal\UE Work\Code\Nakama\nakama\data expose: - "7349" - "7350" - "7351" ports: - "7349:7349" - "7350:7350" - "7351:7351" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7350/"] interval: 10s timeout: 5s retries: 5 volumes: data: