mirror of
https://github.com/Tha14/uam-docker.git
synced 2024-11-24 17:53:02 +01:00
A docker compose script for running UAM in a docker container.
uam | ||
uam-swarm | ||
README.md |
Run UAM in a Docker container
How to use
Single UAM instance
- Make sure you have docker and docker-compose installed on your host.
- Clone this repository.
- Add your Public Key by editing the docker-compose.yml file. Add it to the variable named
PBKEY
without spaces. - If you're on windows or macos, make sure you change the volume path
/opt/uam_data
to something that works on your OS. - Execute the following command in terminal while being in the
uam
directory of this repository:
docker-compose up -d
UAM Swarm
- Make sure you have docker and docker-compose installed on your host.
- Clone this repository.
- Add your Public Key by editing the docker-compose.yml file. Add it to the variable named
PBKEY
without spaces for each service. - If you're on windows or macos, make sure you change the volume path
/opt/uam_data/uam_
to something that works on your OS. - 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.
- Execute the following command in terminal while being in the
uam-swarm
directory of this repository:
docker-compose up -d
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.
ToDo:
- Add CI building to make sure the scripts work.
- Remove unnecessary packages.
- Try to speed up mime database update.
- Include wondershaper install and environment configuration for it.
- See if it's possible to automatically increment port numbers for the swarm script.
- Try to package up-to-date databases to prevent warm-up problems.