Skip to content

enrique-pastrana/giocompose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

giocompose Script

This script automates the setup of local Gravitee APIM or AM environments using Docker Compose.
It downloads the necessary files, configures environment variables, and launches the containers.
If something fails, it rolls back all changes (containers, volumes, networks, and directories).

Options

  • component (optional): Either apim or am. Defaults to apim if not specified.
  • version (optional): Gravitee version. If not provided, uses a timestamped "latest" version.
  • -h or --help: Shows usage instructions and examples.

Usage Examples

# Create APIM environment with version 4.3.0
./giocompose apim 4.3.0

# Create AM environment with the latest version
./giocompose am

# Create APIM environment with the latest version
./giocompose

# Create AM environment with a specific version
./giocompose am 4.3.0

# Show help and usage instructions
./giocompose --help

The script will:

  • Download Docker Compose and .env files from Gravitee repositories
  • Patch .env with the chosen version and NGINX port
  • Run docker compose up -d
  • Roll back

About

Script to automate the creation of dev environments for Gravitee APIM or AM using Docker Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages