mirror of https://github.com/Tha14/uam-docker.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 months ago | |
---|---|---|
.github | 5 months ago | |
uam | 4 months ago | |
uam-swarm | 4 months ago | |
README.md | 4 months ago |
README.md
Run UAM in a Docker container
If you find this project helpful you are welcome to make a donation.
How to use:
Single UAM instance
- Make sure you have docker and docker-compose installed on your host.
- Clone this repository.
- If you're on windows or macos, in the docker-compose.yml file, make sure you change the volume path
/opt/uam_data
to something that works on your OS. For example: on Windows something likec/uam_data
, on macOS${HOME}/uam_data
. - Execute the following command in terminal while being in the
uam
directory of this repository:
PBKEY={YOURKEYHERE} docker-compose up -d
UAM Swarm
- Make sure you have docker and docker-compose installed on your host.
- Clone this repository.
- If you're on windows or macos, in the docker-compose.yml file, make sure you change the volume path
/opt/uam_data/uam_
to something that works on your OS. For example: on Windows something likec/uam_data/uam_
, on macOS${HOME}/uam_data/uam_
. - Optionally, add or remove services according to your needs. You can copy and paste the existing services and incement the names, paths, and ports for each of them.
- Execute the following command in terminal while being in the
uam-swarm
directory of this repository:
PBKEY={YOURKEYHERE} docker-compose up -d
Important information:
- This container will download the latest version of uam every time it is started and will install apt packages so keep that in mind.
- The http service for uam is enabled and listening on http://127.0.0.1:17099 for the single instance. For the UAM swarm you need to define the listening port for each instance.
- Make sure you port forward manually as upnp will most likely not work.
- You can adjust the maximum upload and download bandwidth of uam by changing the
NETLIMUP
andNETLIMDOWN
env variables. - I suggest using lazydocker to control and see the status of your containers.
- You can disable wondershaper(traffic shaping) if you're experiencing problems by setting
ENABLE_WONDERSHAPER
tofalse
.
Requirements per thread:
- 4300MB free ram RAM
- 4 CPU cores
- 10Mbps upload and download bandwidth
- 100MB disk space
- 32CRP held in your wallet or delegated to you