add parameters

This commit is contained in:
David Siaw 2017-06-07 09:57:43 +09:00
parent fce4a078cf
commit 472473dafc
2 changed files with 6 additions and 3 deletions

View file

@ -13,6 +13,9 @@ ENV MYSQL_ROOT_PASSWORD ruby_best_girl
ENV SYNC_TITLE Sync ENV SYNC_TITLE Sync
ENV SYNC_DESCRIPTION Sync Video ENV SYNC_DESCRIPTION Sync Video
ENV ROOT_URL http://localhost:8080 ENV ROOT_URL http://localhost:8080
ENV ROOT_PORT 8080
ENV IO_ROOT_URL http://localhost
ENV IO_ROOT_PORT 1337
ENV ROOT_DOMAIN localhost:8080 ENV ROOT_DOMAIN localhost:8080
ENV HTTPS_ENABLED false ENV HTTPS_ENABLED false
#ENV YOUTUBE_KEY #ENV YOUTUBE_KEY

View file

@ -48,7 +48,7 @@ http:
# one port must be specified as default for the purposes of generating # one port must be specified as default for the purposes of generating
# links with the appropriate port # links with the appropriate port
full-address: "${ROOT_URL}" full-address: "${ROOT_URL}"
default-port: 8080 default-port: ${ROOT_PORT}
domain: '${ROOT_URL}' domain: '${ROOT_URL}'
# Specifies the root domain for cookies. If you have multiple domains # Specifies the root domain for cookies. If you have multiple domains
# e.g. a.example.com and b.example.com, the root domain is example.com # e.g. a.example.com and b.example.com, the root domain is example.com
@ -103,11 +103,11 @@ io:
# you will want to set up a passthrough domain for socket.io. # you will want to set up a passthrough domain for socket.io.
# If the root of this domain is not the same as the root of your HTTP domain # If the root of this domain is not the same as the root of your HTTP domain
# (or HTTPS if SSL is enabled), logins won't work. # (or HTTPS if SSL is enabled), logins won't work.
domain: '${ROOT_URL}' domain: '${IO_ROOT_URL}'
# Even though you may specify multiple ports to listen on for HTTP above, # Even though you may specify multiple ports to listen on for HTTP above,
# one port must be specified as default for the purposes of generating # one port must be specified as default for the purposes of generating
# links with the appropriate port # links with the appropriate port
default-port: 1337 default-port: ${IO_ROOT_PORT}
# limit the number of concurrent socket connections per IP address # limit the number of concurrent socket connections per IP address
ip-connection-limit: 10 ip-connection-limit: 10
# Whether or not to use zlib to compress each socket message (this option is # Whether or not to use zlib to compress each socket message (this option is