https://github.com/remorses/compound
Deploy docker-compose services as scalable serverless containers
https://github.com/remorses/compound
Last synced: 7 months ago
JSON representation
Deploy docker-compose services as scalable serverless containers
- Host: GitHub
- URL: https://github.com/remorses/compound
- Owner: remorses
- Created: 2019-12-20T17:15:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-20T17:35:47.000Z (about 6 years ago)
- Last Synced: 2025-03-04T18:40:48.551Z (10 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compound
Uses the `docker-compose` file to deploy the containers to google cloud run
Services can communicate with each other using the url `http://service-name`
To reach the deployed services just invoke `https://user.project.compound.website/service-name`
To cutomize the router behaviour use labels.
Features
- **easy routing**
- **automatic https**
- **infinitely scalable**
- **scale to zero**
- **highly concurrent**
Supported docker-compose features
- **build**, builds the image and pushes it automatically before deploying
- **image**, currently only images on `gcr.io`
- **command**, set the command of the container
- **entrypoint**, set container entrypoint
- **volumes**, rebuilds the image to include the volumes inside the container
- **environment**, set env variables
- **env_file**, set env variables
Unsupported features
- **ports**, services can only use http, you can call other services with `http://service-name`
- **stateful volumes**, volumes are immutable, used only to inject files inside the container
- **non http traffic**
- **networks**, the services share all one common network
- **everything else**