Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
B
Bigstream Token Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Krit Punpreuk
Bigstream Token Generator
Commits
7bf1e7b0
Commit
7bf1e7b0
authored
Sep 08, 2020
by
Krit Punpreuk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
ec0195d1
Pipeline
#154
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
2 deletions
+33
-2
README.md
README.md
+33
-2
No files found.
README.md
View file @
7bf1e7b0
...
...
@@ -12,10 +12,41 @@ npm install
# start service
```
node
index
.js
node
server
.js
```
or
```
pm2 start server.js --name=BigStream-token-generator-$TOKEN_GENERATOR_PORT
```
open at http://host:TOKEN_GENERATOR_PORT/
# docker
build image
```
docker build -t bigstream-token-generator:latest .
```
run
```
docker run -d -p 3000:3000 --name bs_token bigstream-token-generator
# docker-compose
docker-compose.yml example
```
version: "3.8"
services:
token-service:
image: bigstream-token-generator:latest
environment:
-
BIGSTREAM_SIGNATURE=${BS_SECRET}
-
TOKEN_GENERATOR_PORT=${PORT}
ports:
-
${HTTPPORT}:${PORT}
```
.env example
```
BS_SECRET=test
PORT=3000
HTTPPORT=1234
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment