diff --git a/README.md b/README.md index d2e2335..6a8f5c6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Run UAM in a Docker container -## How to use +## How to use: ### Single UAM instance 1. Make sure you have docker and docker-compose installed on your host. 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. 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 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. 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 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. diff --git a/uam-swarm/docker-compose.yml b/uam-swarm/docker-compose.yml index a769193..42acaa2 100644 --- a/uam-swarm/docker-compose.yml +++ b/uam-swarm/docker-compose.yml @@ -20,7 +20,7 @@ services: - "127.0.0.1:17100:17099" - "4160:4160" environment: - - PBKEY= + - PBKEY=$PBKEY - PPORT=4160 uam_2: @@ -42,7 +42,7 @@ services: - "127.0.0.1:17101:17099" - "4161:4161" environment: - - PBKEY= + - PBKEY=$PBKEY - PPORT=4161 uam_3: @@ -64,5 +64,5 @@ services: - "127.0.0.1:17102:17099" - "4162:4162" environment: - - PBKEY= + - PBKEY=$PBKEY - PPORT=4162 diff --git a/uam/docker-compose.yml b/uam/docker-compose.yml index 4afc6ae..2d05fcb 100644 --- a/uam/docker-compose.yml +++ b/uam/docker-compose.yml @@ -20,4 +20,4 @@ services: - "127.0.0.1:17099:17099" - "4156:4156" environment: - - PBKEY= + - PBKEY=$PBKEY