Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
vicotor
mybee
Commits
166764aa
Commit
166764aa
authored
Jan 27, 2020
by
Svetomir Smiljkovic
Committed by
Janoš Guljaš
Jan 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Dockerfile and default configuration (#3)
parent
edb8d5d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
Dockerfile
Dockerfile
+8
-5
start.go
cmd/bee/cmd/start.go
+1
-1
No files found.
Dockerfile
View file @
166764aa
...
@@ -12,13 +12,16 @@ FROM debian:10.2-slim
...
@@ -12,13 +12,16 @@ FROM debian:10.2-slim
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
install
-y
\
RUN
apt-get update
&&
apt-get
install
-y
\
ca-certificates
&&
\
ca-certificates
;
\
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
&&
\
apt-get clean
;
\
groupadd
-r
drone
&&
\
rm
-rf
/var/lib/apt/lists/
*
;
\
useradd
--no-log-init
-r
-g
drone drone
groupadd
-r
bee
--gid
999
;
\
useradd
-r
-g
bee
--uid
999
--no-log-init
-m
bee
;
COPY
--from=build /src/dist/bee /usr/local/bin/bee
COPY
--from=build /src/dist/bee /usr/local/bin/bee
USER
drone
EXPOSE
6060 7070 8080
USER
bee
WORKDIR
/home/bee
ENTRYPOINT
["bee"]
ENTRYPOINT
["bee"]
cmd/bee/cmd/start.go
View file @
166764aa
...
@@ -142,7 +142,7 @@ func (c *command) initStartCmd() (err error) {
...
@@ -142,7 +142,7 @@ func (c *command) initStartCmd() (err error) {
cmd
.
Flags
()
.
Bool
(
optionNameP2PDisableWS
,
false
,
"disable P2P WebSocket protocol"
)
cmd
.
Flags
()
.
Bool
(
optionNameP2PDisableWS
,
false
,
"disable P2P WebSocket protocol"
)
cmd
.
Flags
()
.
Bool
(
optionNameP2PDisableQUIC
,
false
,
"disable P2P QUIC protocol"
)
cmd
.
Flags
()
.
Bool
(
optionNameP2PDisableQUIC
,
false
,
"disable P2P QUIC protocol"
)
cmd
.
Flags
()
.
StringSlice
(
optionNameBootnodes
,
nil
,
"initial nodes to connect to"
)
cmd
.
Flags
()
.
StringSlice
(
optionNameBootnodes
,
nil
,
"initial nodes to connect to"
)
cmd
.
Flags
()
.
String
(
optionNameDebugAPIAddr
,
"
"
,
"debug HTTP API listen address, e.g. 127.0.0.1:6060
"
)
cmd
.
Flags
()
.
String
(
optionNameDebugAPIAddr
,
"
:6060"
,
"debug HTTP API listen address
"
)
cmd
.
Flags
()
.
Int32
(
optionNameNetworkID
,
1
,
"ID of the Swarm network"
)
cmd
.
Flags
()
.
Int32
(
optionNameNetworkID
,
1
,
"ID of the Swarm network"
)
cmd
.
Flags
()
.
Int
(
optionNameConnectionsLow
,
200
,
"low watermark governing the number of connections that'll be maintained"
)
cmd
.
Flags
()
.
Int
(
optionNameConnectionsLow
,
200
,
"low watermark governing the number of connections that'll be maintained"
)
cmd
.
Flags
()
.
Int
(
optionNameConnectionsHigh
,
400
,
"high watermark governing the number of connections that'll be maintained"
)
cmd
.
Flags
()
.
Int
(
optionNameConnectionsHigh
,
400
,
"high watermark governing the number of connections that'll be maintained"
)
...
...
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