Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
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
董子豪
sgxwallet
Commits
3291b5f1
Unverified
Commit
3291b5f1
authored
Jan 26, 2020
by
Stan Kladko
Committed by
GitHub
Jan 26, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #39 from skalenetwork/SKALE-2077-cleanup-sgx
SKALE-2077 Added rotating log files
parents
31b40357
7e252ab9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
README.md
README.md
+14
-0
docker-compose.yml
run_sgx/docker-compose.yml
+5
-0
docker-compose.yml
run_sgx_sim/docker-compose.yml
+5
-0
No files found.
README.md
View file @
3291b5f1
...
@@ -28,6 +28,7 @@ Table of Contents
...
@@ -28,6 +28,7 @@ Table of Contents
*
[
Clone this repository and its submodules
](
#clone-this-repository-and-its-submodules
)
*
[
Clone this repository and its submodules
](
#clone-this-repository-and-its-submodules
)
*
[
Try instantly in simulation mode
](
#try-instantly-in-simulation-mode
)
*
[
Try instantly in simulation mode
](
#try-instantly-in-simulation-mode
)
*
[
Start, stop and upgrade sgxwallet
](
#start-stop-and-upgrade-sgxwallet
)
*
[
Start, stop and upgrade sgxwallet
](
#start-stop-and-upgrade-sgxwallet
)
*
[
Configure logging
](
#configure-logging
)
*
[
Enable SGX on your machine
](
#enable-sgx-on-your-machine
)
*
[
Enable SGX on your machine
](
#enable-sgx-on-your-machine
)
*
[
Enable "software-controlled" SGX
](
#enable-software-controlled-sgx
)
*
[
Enable "software-controlled" SGX
](
#enable-software-controlled-sgx
)
*
[
Install SGX driver
](
#install-sgx-driver
)
*
[
Install SGX driver
](
#install-sgx-driver
)
...
@@ -121,6 +122,19 @@ Note: sgxwallet operates on network ports 1026 (https) and 1027 (http for initia
...
@@ -121,6 +122,19 @@ Note: sgxwallet operates on network ports 1026 (https) and 1027 (http for initia
If you have a firewall on your network, please make sure these ports are open so clients are able to
If you have a firewall on your network, please make sure these ports are open so clients are able to
connect to the server.
connect to the server.
## Configure logging
By default, sgxwallet will log into default Docker logs, which are rotated into four files 10M each.
To send logs to an external syslog service, edit docker compose YAML file to specify logging configuration as
```
logging:
driver: syslog
options:
syslog-address: "tcp://SYSLOG_SERVER_IP:PORT"
```
See docker-compose documentation for more options.
## Enable SGX on your machine
## Enable SGX on your machine
...
...
run_sgx/docker-compose.yml
View file @
3291b5f1
...
@@ -11,6 +11,11 @@ services:
...
@@ -11,6 +11,11 @@ services:
-
"
/dev/mei0"
-
"
/dev/mei0"
volumes
:
volumes
:
-
./sgx_data:/usr/src/sdk/sgx_data
-
./sgx_data:/usr/src/sdk/sgx_data
logging
:
driver
:
json-file
options
:
max-size
:
"
10m"
max-file
:
"
4"
restart
:
unless-stopped
restart
:
unless-stopped
command
:
-s
command
:
-s
...
...
run_sgx_sim/docker-compose.yml
View file @
3291b5f1
...
@@ -8,6 +8,11 @@ services:
...
@@ -8,6 +8,11 @@ services:
-
"
1028:1028"
-
"
1028:1028"
volumes
:
volumes
:
-
./sgx_data:/usr/src/sdk/sgx_data
-
./sgx_data:/usr/src/sdk/sgx_data
logging
:
driver
:
json-file
options
:
max-size
:
"
10m"
max-file
:
"
4"
restart
:
unless-stopped
restart
:
unless-stopped
command
:
-s -d
command
:
-s -d
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