Inspired by chacuavip10 and the article.
- Read the article above
- Register an API key*
- Start to create an instance in the control panel*
- Catch the request*
- Put your key to
config
- Fill two files with your request data:
- config/config
- .env.example
- Run
docker-compose up
* you can get more information from the article
OCPUS=4
- CPU's cores number (from request)MEMORY_IN_GBS=24
- RAM's quantity (from request)WAIT_INTERVAL=30
- Time interval between attempts (from request)INSTANCE_DISPLAY_NAME=instance-xxx
- Instance's name (from request)COMPARTMENT_ID=ocid1.xxx
- Compartment ID (from request)DOMAIN=FIiW:xxx
- Your domain (from request)IMAGE_ID=ocid1.xxx
- OS image (from request)SUBNET_ID=ocid1.xxx
- Your network ID (from request)
SSH_KEY=ssh-rsa xxx
- Public ssh keyPATH_TO_CONFIG_FILE=/config/config
- Path to OCI config
BOT_ID=xxx
- Telegram bot ID (unnecessary)CHAT_ID=xxx
- Telegram chat ID (unnecessary)