mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 22:33:01 +01:00
Fix persistance, Readme
This commit is contained in:
parent
b7f4289b8a
commit
2b4370024b
@ -3,9 +3,11 @@
|
|||||||
## How to use
|
## How to use
|
||||||
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.
|
||||||
3. Add your Public Key by editing the docker-compose.yml file.
|
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 root of this repository:
|
4. Execute the following command in terminal while being in the `uam` directory of this repository:
|
||||||
```docker-compose -d```
|
|
||||||
|
```docker-compose up -d```
|
||||||
|
|
||||||
## Information
|
## Information
|
||||||
This container will download the latest version of uam every time it is started.
|
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
|
memlock: -1
|
||||||
volumes:
|
volumes:
|
||||||
- "./entrypoint.sh:/opt/entrypoint.sh"
|
- "./entrypoint.sh:/opt/entrypoint.sh"
|
||||||
|
- "/opt/uam_data:/root/.uam"
|
||||||
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY}"
|
command: /bin/sh -c "chmod +x /opt/entrypoint.sh && /opt/entrypoint.sh $${PBKEY}"
|
||||||
environment:
|
environment:
|
||||||
- PBKEY=
|
- PBKEY=
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd /tmp
|
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
|
wget https://update.u.is/downloads/uam/linux/uam-latest_amd64.deb
|
||||||
dpkg -i uam-latest_amd64.deb
|
dpkg -i uam-latest_amd64.deb
|
||||||
cd /opt/uam/
|
cd /opt/uam/
|
||||||
|
Loading…
Reference in New Issue
Block a user