https://github.com/dapeng-soa/source-compose
a build and deploy tool based on docker and docker-compose
https://github.com/dapeng-soa/source-compose
devops devops-workflow docker
Last synced: 3 months ago
JSON representation
a build and deploy tool based on docker and docker-compose
- Host: GitHub
- URL: https://github.com/dapeng-soa/source-compose
- Owner: dapeng-soa
- Created: 2018-01-17T07:43:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-27T09:33:31.000Z (over 7 years ago)
- Last Synced: 2025-07-23T16:38:02.286Z (6 months ago)
- Topics: devops, devops-workflow, docker
- Language: Scala
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# source-compose
a build and deploy tool based on docker and docker-compose
## How to use
1. Compile & package: cd to project folder and run
sbt clean compile assembly
2. Get the executable jar
cp target/scala-${scala-version}/source-compose-assembly-1.0.jar .
3. Envirement setting:
COMPOSE_WORKSPACE=${folder_where_your_projects_located}
4. Created your project files with docker-compose format.
5. java -jar source-compose-assembly-1.0.jar
6. alternative, you can make the executable file more elegant under shell like command lines
cat scompose.sh source-compose-assembly-1.0.jar > scompose
then sh scompose