Change the way you provide the public key. Update documentation.

This commit is contained in:
Tha14 2022-12-26 23:48:35 +02:00
parent ab9acca35f
commit c436e3babc
No known key found for this signature in database
GPG Key ID: C2B875C3A9D53CFC
3 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Run UAM in a Docker container # Run UAM in a Docker container
## How to use ## How to use:
### Single UAM instance ### Single UAM instance
1. Make sure you have docker and docker-compose installed on your host. 1. Make sure you have docker and docker-compose installed on your host.
2. Clone this repository. 2. Clone this repository.
@ -8,7 +8,7 @@
4. If you're on windows or macos, make sure you change the volume path `/opt/uam_data` to something that works on your OS. 4. If you're on windows or macos, make sure you change the volume path `/opt/uam_data` to something that works on your OS.
5. Execute the following command in terminal while being in the `uam` directory of this repository: 5. Execute the following command in terminal while being in the `uam` directory of this repository:
```docker-compose up -d``` ```PBKEY={YOURKEYHERE} docker-compose up -d```
### UAM Swarm ### UAM Swarm
1. Make sure you have docker and docker-compose installed on your host. 1. Make sure you have docker and docker-compose installed on your host.
@ -18,7 +18,7 @@
5. Optionally, add or remove services according to your needs. You can copy and paste the existing services and modify the names, paths, and ports for each of them. 5. Optionally, add or remove services according to your needs. You can copy and paste the existing services and modify the names, paths, and ports for each of them.
6. Execute the following command in terminal while being in the `uam-swarm` directory of this repository: 6. Execute the following command in terminal while being in the `uam-swarm` directory of this repository:
```docker-compose up -d``` ```PBKEY={YOURKEYHERE} docker-compose up -d```
## Information ## Information
1. This container will download the latest version of uam every time it is started and will install apt packages so keep that in mind. 1. This container will download the latest version of uam every time it is started and will install apt packages so keep that in mind.

View File

@ -20,7 +20,7 @@ services:
- "127.0.0.1:17100:17099" - "127.0.0.1:17100:17099"
- "4160:4160" - "4160:4160"
environment: environment:
- PBKEY= - PBKEY=$PBKEY
- PPORT=4160 - PPORT=4160
uam_2: uam_2:
@ -42,7 +42,7 @@ services:
- "127.0.0.1:17101:17099" - "127.0.0.1:17101:17099"
- "4161:4161" - "4161:4161"
environment: environment:
- PBKEY= - PBKEY=$PBKEY
- PPORT=4161 - PPORT=4161
uam_3: uam_3:
@ -64,5 +64,5 @@ services:
- "127.0.0.1:17102:17099" - "127.0.0.1:17102:17099"
- "4162:4162" - "4162:4162"
environment: environment:
- PBKEY= - PBKEY=$PBKEY
- PPORT=4162 - PPORT=4162

View File

@ -20,4 +20,4 @@ services:
- "127.0.0.1:17099:17099" - "127.0.0.1:17099:17099"
- "4156:4156" - "4156:4156"
environment: environment:
- PBKEY= - PBKEY=$PBKEY