Install with Docker Compose
Before you start
To install TRON.ASOC with Docker Compose, you'll need:
- credentials to access the
harbor.tronsec.ruregistry; - the
docker-compose-v1.6.1.ziparchive with configuration files; - a domain name for the ASOC web interface, which you must reserve in advance.
You can request the username, password, and configuration file archive from support.
Install and start
Installing TRON.ASOC with Docker Compose includes the following steps:
Configure the environment
Follow these steps to configure the environment:
- Extract the archive with the configuration files:
unzip docker-compose-v1.6.1.zip
cd docker-compose-v1.6.1
- 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.
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
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
This script displays the current environment variable values. Make sure the ASOC_DOMAIN variable specifies the correct domain.
Start
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 a status of Running or Up About a minute.
Check the installation
Follow these steps to check the TRON.ASOC installation:
- Open
http://<your_domain>in a browser (for example,http://asoc.example.com). - Wait for the sign-in page to load.