Giter VIP home page Giter VIP logo

soapbox-race-core's Introduction

soapbox-race-core

standalone.xml need to have gzip, here an example

<subsystem xmlns="urn:jboss:domain:undertow:3.1">
  <buffer-cache name="default" />
  <server name="default-server">
    <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" />
    <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true" />
    <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content" />
      <filter-ref name="server-header" />
      <filter-ref name="x-powered-by-header" />
      <filter-ref name="gzipFilter"
        predicate="exists['%{o,Content-Type}'] and regex[pattern='(?:application/javascript|text/css|text/html|text/xml|application/json|application/xml)(;.*)?', value=%{o,Content-Type}, full-match=true] and not min-content-size[10]" />
      <filter-ref name="Vary-header" />
    </host>
  </server>
  <servlet-container name="default">
    <jsp-config />
    <websockets />
  </servlet-container>
  <handlers>
    <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />
  </handlers>
  <filters>
    <response-header name="server-header" header-name="Server" header-value="WildFly/10" />
    <response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1" />
    <response-header name="Vary-header" header-name="Vary" header-value="Accept-Encoding" />
    <gzip name="gzipFilter" />
  </filters>
</subsystem>

system property example:

 <system-properties>
    <property name="openFireToken" value="xzxzx99df4d51z2d" />
    <property name="openFireAddress" value="http://localhost:9090/plugins/restapi/v1" />
    <property name="xmppIp" value="127.0.0.1" />
    <property name="xmppPort" value="5222" />
    <property name="udpRaceIp" value="127.0.0.1"/>
    <property name="udpRacePort" value="9998"/>
    <property name="udpFreeroamIp" value="127.0.0.1"/>
    <property name="udpFreeroamPort" value="9999"/>
    <property name="ticketToken" value="123456789"/>
    <property name="emailFrom" value="[email protected]" />
    <property name="serverAddress" value="http://127.0.0.1:8680" />
    <property name="promoCodeToken" value="987654321" />
  </system-properties>

datasource example:

<datasource jndi-name="java:jboss/datasources/SoapBoxDS" pool-name="SoapBoxDS" enabled="true" use-java-context="true">
  <connection-url>jdbc:h2:tcp://localhost/~/git/soapbox-race-core/db/soapbox</connection-url>
  <driver>h2</driver>
  <security>
    <user-name>sa</user-name>
    <password>sa</password>
  </security>
</datasource>

email config example:

<subsystem xmlns="urn:jboss:domain:mail:2.0">
  <mail-session name="default" jndi-name="java:jboss/mail/Default">
    <smtp-server outbound-socket-binding-ref="mail-smtp" />
  </mail-session>
  <mail-session name="Gmail" from="[email protected]" jndi-name="java:jboss/mail/Gmail">
    <smtp-server password="secretPassword" username="[email protected]" ssl="true" outbound-socket-binding-ref="mail-smtp-gmail" />
  </mail-session>
</subsystem>
......
<outbound-socket-binding name="mail-smtp">
  <remote-destination host="localhost" port="25" />
</outbound-socket-binding>
<outbound-socket-binding name="mail-smtp-gmail" source-port="0" fixed-source-port="false">
  <remote-destination host="smtp.gmail.com" port="465" />
</outbound-socket-binding>

donations: https://www.patreon.com/nilzao

soapbox-race-core's People

Contributors

leocodes21 avatar nilzao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.