Apiinterface to create docker-compose commands
144
You will find the Fullapidocs on http-Rootlevel "/" if you start this Dockerimage. The are running a Swagger-UI.
curl -X POST http://mydockerhost:5005/api/v2/$DEPLOY_NAME/$FUNCTION
The Workingdirectory is /compose, in the are the app-Folder (/compose/apps). This are the place for the Composefiles (YAML-Files). A Deployname is the name of a YAML-File.
The composerapi-service will serve follows routes.
POST
GET a JSON Result
composerapi:
image: dockermgeo/composerapi:latest
hostname: $DEPLOY_NAME
container_name: $DEPLOY_NAME
environment:
- COMPOSE_DIR=/docker/compose
ports:
- "5005:5005"
volumes:
- /docker:/docker
- /var/run/docker.sock:/var/run/docker.sock
Content type
Image
Digest
Size
472.4 MB
Last updated
almost 8 years ago
docker pull dockermgeo/composerapi