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
7e252ab9
Unverified
Commit
7e252ab9
authored
Jan 26, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2077 Added rotating log files
parent
b808c1bc
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 @
7e252ab9
...
...
@@ -28,6 +28,7 @@ Table of Contents
*
[
Clone this repository and its submodules
](
#clone-this-repository-and-its-submodules
)
*
[
Try instantly in simulation mode
](
#try-instantly-in-simulation-mode
)
*
[
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 "software-controlled" SGX
](
#enable-software-controlled-sgx
)
*
[
Install SGX driver
](
#install-sgx-driver
)
...
...
@@ -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
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
...
...
run_sgx/docker-compose.yml
View file @
7e252ab9
...
...
@@ -11,6 +11,11 @@ services:
-
"
/dev/mei0"
volumes
:
-
./sgx_data:/usr/src/sdk/sgx_data
logging
:
driver
:
json-file
options
:
max-size
:
"
10m"
max-file
:
"
4"
restart
:
unless-stopped
command
:
-s
...
...
run_sgx_sim/docker-compose.yml
View file @
7e252ab9
...
...
@@ -8,6 +8,11 @@ services:
-
"
1028:1028"
volumes
:
-
./sgx_data:/usr/src/sdk/sgx_data
logging
:
driver
:
json-file
options
:
max-size
:
"
10m"
max-file
:
"
4"
restart
:
unless-stopped
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