User's Manual

6.2.2. Install Docker Compose
To install Docker-Compose on Ubuntu server you can follow the step describe on the following
web site: https://docs.docker.com/compose/install/
To summarize the following SSH commands have to be executing on the server terminal:
Download the current stable release of Docker Compose:
$ sudo curl -L
"https://github.com/docker/compose/releases/download/1.27.4/docker-comp
ose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Apply executable permissions to the binary:
$ sudo chmod +x /usr/local/bin/docker-compose
You can test the installation with the following ssh command on the server:
$ docker-compose --version
6.3. ATD Server software installation
To install the ATD server software on the server please follow the following step:
Create a new directory “atd_server” on the server where you want to install the software
(on this example the “atd-server” directory is located on the root directory “/”)
Copy the two following files on the “atd_server” directory:
atd_server_v1_xxx.tar (xxx is the software version)
docker-compose.yml
Execute following SSH command on the server terminal:
Load “atd_server” image
$ sudo docker image load -i /atd_server/atd_server_v1_xxx.tar
Remove the image file from the server
$ sudo rm /atd_server/atd_server_v1_xxx.tar
Edit the “docker-compose.yml” to modify the server url (Line 29) and port (Line
32)
$ sudo nano /atd_server/docker-compose.yml
Line 29: "NGINX_HOST: localhost" replace localhost by the server public
URL (eg,
http://atd_server.com) or server list of IP (eg, "192.168.1.10
172.16.4.28")
Line 32: "- 8080:80" replace the 1
st
number 8080 by the public port (host) on
which the ATD server will listen
ACOEM | ATD-300/ATD-301 | User Manual FW 1.0.0.4 51