b1396e828907c5019288004999a69af653b91dfb
- Add plugin initialization and configuration management - Implement logging system with different log levels - Add plugin installation and management commands - Create comprehensive test suite - Add .gitignore file - Update documentation
Dokku Docker Compose Plugin
A Dokku plugin for importing Docker Compose files into Dokku applications.
Features
- Import
docker-compose.ymlfiles into Dokku - Map Compose services to Dokku apps
- Handle volumes, networks, and environment variables
- Support for Docker Compose v2 and v3 formats
- Integration with existing Dokku plugins
Installation
# On your dokku server
sudo dokku plugin:install https://github.com/deanmarano/dokku-docker-compose.git docker-compose
Usage
Import a Docker Compose file
# In a directory containing docker-compose.yml
dokku docker-compose:import
# Or specify a custom compose file
dokku docker-compose:import -f docker-compose.prod.yml
# Dry run to see what will be created
dokku docker-compose:import --dry-run
Help
# Show help
dokku docker-compose:help
# Show version
dokku docker-compose:version
Development
Prerequisites
- Bash 4.0+
- Dokku 0.30.0+
- Docker
- Docker Compose or Docker Compose Plugin
Running Tests
# Install test dependencies
bats_install="https://git.io/bats-install"
curl -sSL $bats_install | bash
# Run tests
bats tests
License
MIT
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
Author
Dean Marano
Description
Languages
Shell
99.5%
JavaScript
0.5%