Docker Compose - Online¶
Introduction¶
Features¶
Pre-requisites¶
Deploy environment
The hardware requirements for the Container environment are as follows.表 24 Hardware requirements(Minimum)¶ Resource type
Required resource
CPU
2 Cores (3.0 GHz, x86_64)
Memory
4GB
Storage (Container image size)
35GB
表 25 Hardware requirements(Recommended)¶ Resource type
Required resource
CPU
4 Cores (3.0 GHz, x86_64)
Memory
16GB
Storage (Container image size)
120GB
警告
The required resources for the minimum configuration are for when both Gitlab Container and OASE container are not deployed. Additional resources will be required if you are planning to deploy them.Users will have to prepare an additional storage area if they wish to persist databases or files.The storage space is only an estimate and varies based on the user's needs. Make sure to take that into account when securing storage space.
Communication Protocols
表 26 Communication Protocols¶ Use
Description
Source
Destination
Default
For Exastro service
For connecting to Exastro service
Client
Exastro system
30080/tcp
Exastro system (management)
For Exastro system management function
Client
Exastro system
30081/tcp
GitLab service(options)
For connecting to GitLab when linked with AAP
Ansible Automation Platform
Exastro system
40080/tcp
For GitLab service (option)
For monitoring GitLab service
Exastro system
Exastro system
40080/tcp
File acquisition
GitHub, Container images, Packages, etc.
Exastro system
Internet
443/tcp
Confirmed compatible Operation systems
The following describes confirmed compatible operation systems as well as their versions.
表 27 Operating systems¶ Type
Version
Red Hat Enterprise Linux
Version 8
AlmaLinux
Version 8
Ubuntu
Version 22.04
Confirmed compatible Operation systems and container platforms
The following describes confirmed compatible operation systems as well as their versions.
表 28 Tested environments¶ OS version
podman version
Docker Compose version
Docker version
Red Hat Enterprise Linux release 9.4 (Plow)
podman version 4.9.4-rhel
Docker Compose version v2.20.3
ー
Red Hat Enterprise Linux release 8.9 (Ootpa)
podman version 4.9.4-rhel
Docker Compose version v2.20.3
ー
AlmaLinux release 8.9 (Midnight Oncilla)
ー
ー
Docker version 26.1.3, build b72abbb
Tip
Applications
The user must be able to run curl and sudo commands.
警告
Preparation¶
Service |
URL |
---|---|
Exastro service |
|
Exastro management service |
|
GitLab service |
Service |
URL |
---|---|
Exastro service |
|
Exastro management service |
|
GitLab service |
Service |
URL |
---|---|
Exastro service |
|
Exastro management service |
|
GitLab service |
Tip
Installation (Automatic)¶
注釈
注釈
sh <(curl -sf https://ita.exastro.org/setup) install
Deploy OASE containers? (y/n) [default: y]:
Deploy GitLab container? (y/n) [default: n]:
# Asks to automatically generate Maria DB and System admin password.
Generate all password and token automatically? (y/n) [default: y]:
#Input 30800 for the port number if the OS is Red Hat Enterprise Linux. For everything else, input 80.
Input the Exastro service URL: https://ita.example.com:30080
#Input 30801 for the port number if the OS is Red Hat Enterprise Linux. For everything else, input 81.
Input the Exastro management URL: https://ita.example.com:30081
Generate self-signed SSL certificate? (y/n) [default: y]:
#Specify the server certificate file path for the certificate file path and the secret key file's file path for the private-key file path.
Input path to your SSL certificate file.
certificate file path:
private-key file path:
Input the Exastro service URL:
Tip
Input the Exastro management URL:
Tip
Input the external URL of GitLab container [default: (nothing)]:
Tip
Service URL? [default: http://127.0.0.1:30080]: http://ita.example.com:30080
Management URL? [default: http://127.0.0.1:30081]: http://ita.example.com:30081
System parametes are bellow.
System administrator password: ********
Database password: ********
OASE deployment true
MongoDB password ********
Service URL: http://ita.example.com:30080
Manegement URL: http://ita.example.com:30081
Docker GID: 1000
Docker Socket path: /run/user/1000/podman/podman.sock
GitLab deployment: false
Generate .env file with these settings? (y/n) [default: n]:
Deploy Exastro containers now? (y/n) [default: n]:
Please wait for a little while. It will take 10 minutes or later..........
System manager page:
URL: http://ita.example.com:30081/
Login user: admin
Initial password: ******************
Organization page:
URL: http://ita.example.com:30080/{{ Organization ID }}/platform
GitLab service is has completely started!
Run creation organization command:
bash /home/test_user/exastro-docker-compose/create-organization.sh
! ! ! ! ! ! ! ! ! ! ! ! ! ! !
! ! ! C A U T I O N ! ! !
! ! ! ! ! ! ! ! ! ! ! ! ! ! !
Be sure to reboot the you host operating system to ensure proper system operation.
Reboot now? (y/n) [default: y]: y
注釈
~/exastro-docker-compose/.env
.Create Organization¶
Tip
Create Workspace¶
Let's give it a Try!!¶
Update¶
Update preparation¶
警告
~/exastro-docker-compose/.volumes
.Update repository¶
1# Check exastro-docker-compose repository
2cd ~/exastro-docker-compose
3git pull
Check default setting values and update data¶
exastro.yaml
file pre and post update.cd ~/exastro-docker-compose
# For AlmaLinux or Ubuntu OS
diff .env .env.docker.sample
# For Red Hat Enterprise Linux OS
diff .env .env.podman.sample
Update setting values¶
Update¶
Start update¶
sh <(curl -sf https://ita.exastro.org/setup) install
Uninstall¶
Uninstall preparation¶
警告
~/exastro-docker-compose/.volumes
.Uninstall¶
Start uninstall¶
Deleting Container and Data¶
sh <(curl -sf https://ita.exastro.org/setup) remove -c
Leaving the Container image¶
Delete Container¶
sh <(curl -sf https://ita.exastro.org/setup) remove
Delete Volume¶
docker volume rm $(docker volume ls -qf dangling=true)
# Confirm that the Volume has been deleted
docker volume ls
Delete .volumes¶
cd ~/exastro-docker-compose
sudo rm -rf .volumes
Recreate .volumes¶
注釈
cd ~/exastro-docker-compose
git checkout .volumes