Installation with Docker Compose
Before you begin
To install TRON ASOC with Docker Compose, you'll need:
- credentials to access the
harbor.tronsec.ruregistry—you'll get the username and password for authentication from support; - the
docker-compose-v1.7.ziparchive with configuration files—request the latest version from support; - a domain name for the ASOC web interface—reserve it in your infrastructure in advance.
Installation and startup
Installing TRON ASOC with Docker Compose includes the following steps:
Configure the environment
Follow these steps to configure the environment:
- Extract the archive with configuration files:
unzip docker-compose-v1.7.zip
cd docker-compose-v1.7
- Log in to the container registry:
docker login harbor.tronsec.ru
- Create a directory to store MinIO data:
sudo mkdir -p /mnt/minio-data
sudo chown -R 2222:2222 /mnt/minio-data
sudo chmod -R 755 /mnt/minio-data
- Open the
docker-compose.yamlfile and set theASOC_DOMAINvariable.
info
The ASOC_DOMAIN variable specifies the domain name where the TRON ASOC web interface will be available.
- If you don't have a configured DNS server, add the following entry to the local
hostsfile:
echo "127.0.0.1 asoc.example.com" | sudo tee -a /etc/hosts
warning
For pilot projects with network access, create an A record on the DNS server that points to the IP address of the server running Docker Compose.
- Check the configuration by running the
show.shscript:
./show.sh
info
This script displays the current environment variable values. Make sure that the ASOC_DOMAIN variable contains the correct domain.
Start the application
Follow these steps to start TRON ASOC:
- Start the containers:
docker-compose up -d
- Wait for all services to start, usually 1–2 minutes, and check their status:
docker ps
The containers should have the Running or Up About a minute status.
Check the application status
Follow these steps to check the TRON ASOC status:
- Open
http://<your_domain>in a browser, for example,http://asoc.example.com. - Wait for the sign-in page to load.