Docker exec Fast-Purge Akamai in background
499
From Git : akamai-open/api-kickstart
This repositarie is only dedicated to Docker and optimize for Fast-Purge in Python
Docker api-kickstart can running in background (in next example, initialize with Docker-compose)
Before start installation for Fast-Purge please read OPEN API Administration Application for download Exporting Client Credentials
Create directory to contain client credentials and list url purge :
/index.html
/style/style.css
/js/
Sample file for config_purge :
hostname=your.hostname.com
network=staging (or production)
docker run -d -v /your/path/with/config:/var/local --name api-akamai sysC0D/api-kickstart
api-akamai:
image: "sysC0D/api-kickstart"
restart: always
volumes:
- /your/path/with/config:/var/local:rw
After first launch Docker, your .edgerc is generated automatically -> for more information, please see doc
For verify your configuration, please run :
docker exec -it api-akamai python verify_creds.py
If you have problem please update your cc.txt and run next commands :
docker exec -it api-akamai python gen_edgerc.py -s default -f /var/local/cc.txt
docker exec -it api-akamai python gen_edgerc.py -s ccu -f /var/local/cc.txt
Just exec next command, and if you have code 201 this is a success \0/
docker exec -it api-akamai /src/fast-purge.sh
Content type
Image
Digest
Size
365.7 MB
Last updated
almost 10 years ago
docker pull sysc0d/api-kickstart