Docker image to run API server to interact with OCI.
For the OCI API Server functions see the server documentation
Docker 1.9 or above is required
git clone https://github.com/snafuz/oci-api-server.git
./container/build.sh
Prepare the configuration file:
$ cp data/template_config.json data/config.json
Edit config.json according to your environment
Put you terraform file(s) in ./data
NOTE: don't use config.json to setup terraform path if you're using Docker
To run the server as daemon
./container/run-server.sh ./data
#API Server running on http://localhost:5000/
To stop the server
./container/stop-server.sh
To run the server in interactive mode
./container/run-server-interactive.sh ./data
#API Server running on http://localhost:5000/