mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 20:43:02 +01:00
Fix persistance, Readme
This commit is contained in:
parent
b7f4289b8a
commit
2b4370024b
@ -3,9 +3,11 @@
|
||||
## How to use
|
||||
1. Make sure you have docker and docker-compose installed on your host.
|
||||
2. Clone this repository.
|
||||
3. Add your Public Key by editing the docker-compose.yml file.
|
||||
4. Execute the following command in terminal while being in the root of this repository:
|
||||
```docker-compose -d```
|
||||
3. Add your Public Key by editing the docker-compose.yml file. Add it to the variable named `PBKEY` without spaces.
|
||||
4. Execute the following command in terminal while being in the `uam` directory of this repository:
|
||||
|
||||
```docker-compose up -d```
|
||||
|
||||
## Information
|
||||
This container will download the latest version of uam every time it is started.
|
||||
The http service is enabled for 127.0.0.1:17099.
|
||||
|
@ -12,6 +12,7 @@ services:
|
||||
memlock: -1
|
||||
volumes:
|
||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||
- "/opt/uam_data:/root/.uam"
|
||||
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY}"
|
||||
environment:
|
||||
- PBKEY=
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd /tmp
|
||||
apt update && apt -yq install wget libglib2.0-0
|
||||
apt update && apt -yq install wget libglib2.0-0 ca-certificates
|
||||
update-ca-certificates
|
||||
wget https://update.u.is/downloads/uam/linux/uam-latest_amd64.deb
|
||||
dpkg -i uam-latest_amd64.deb
|
||||
cd /opt/uam/
|
||||
|
Loading…
Reference in New Issue
Block a user