Public Repository

Last pushed: 4 months ago
Short Description
APIGee Edge Micro docker container with simplified and resilient use
Full Description

You can customise the access environment variables and run you public/private cloud resources (Apps and Proxies).

Environment:
EDGEMICRO_ORG=APIGee Organization (no defaults)
EDGEMICRO_ENV=APIGee Environment (no defaults)
EDGEMICRO_USER=APIGee User Account (no defaults)
EDGEMICRO_PASS=APIGee User Account Password (no defaults)
EDGEMICRO_CONSUMER_CREDENTIALS=Consumer credentials lit comma separated list of column separated key/secret pairs (no defaults)
EDGEMICRO_PRIVATE_CLOUD=Connect the private cloud instead the public one (default "no", alternative: "yes")
EDGEMICRO_ROUTER=Router Host IP Address and Port (no defaults) for private cloud access
EDGEMICRO_API_MNGMT=API Management Host IP Address and Port (no defaults) for private cloud access

EXPOSE:
8000

Reference Repository :
https://github.com/fabriziotorelli-wipro/rig-docker-machines/tree/master/2/apigee-edge-microgateway

APIGee docs :
http://docs.apigee.com/api-services/content/get-started
http://docs.apigee.com/microgateway/latest/setting-and-configuring-edge-microgateway

Example run command :
export EDGEMICRO_ORG="MyOrg"
export EDGEMICRO_ENV="MyEnv"
export EDGEMICRO_USER="myAPIGeeUser"
export EDGEMICRO_PASS="myAPIGeeSecret"
export EDGEMICRO_CONSUMER_CREDENTIALS="yLNKurL0Desq865nMXvEDh5NXI76o5mB:BEGWzrw4qj2ep0nR,yMNGurK1Draq999nMXvEDh7NXI34n6mB:BEGWzrw6qj7er6nR"
export EDGEMICRO_PRIVATE_CLOUD="no"
export EDGEMICRO_ROUTER="http://myOrg.myEnv.apigee.net"
EDGEMICRO_API_MNGMT="http://myOrg.myEnv.apigee.net"
docker run -d -p 8000:8000 -e "EDGEMICRO_ORG=$EDGEMICRO_ORG" -e "EDGEMICRO_ENV=$EDGEMICRO_ENV" \
-e "EDGEMICRO_USER=$EDGEMICRO_USER" -e "EDGEMICRO_PASS=$EDGEMICRO_PASS" -e "container=docker" \
-e "EDGEMICRO_CONSUMER_CREDENTIALS=$EDGEMICRO_CONSUMER_CREDENTIALS" -e "EDGEMICRO_PRIVATE_CLOUD=$EDGEMICRO_PRIVATE_CLOUD" \
-e "EDGEMICRO_ROUTER=$EDGEMICRO_ROUTER" -e "EDGEMICRO_API_MNGMT=$EDGEMICRO_API_MNGMT" \
-it --name my-apigee-edge-micro builditftorelli/apigee-edge-micro:X.X.X

After the start-up of your container you can download most of the keys using the following command:
docker cp <CONTAINER>:/root/dev-pack.tgz <MY-LOCAL-FOLDER>/myfilename.tgz
for instance :
docker cp my-apigee-edge-micro:/root/dev-pack.tgz ~/my-apigee-workspace/machine1-cred.tgz

Docker Pull Command
Owner
builditftorelli

Comments (0)