Last active
July 4, 2019 10:30
-
-
Save skobba/10db57464661f9edf81fee6aa57a8d49 to your computer and use it in GitHub Desktop.
docker-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Versions | |
| Version 2 - this time to make use of a feature in docker-compose that isn’t available in the version 3 specification. | |
| Version 3 - is more suited towards use in production than version 2, which has more development friendly features. | |
| # docker-compose | |
| docker-compose start | |
| docker-compose ps | |
| docker-compose up -d --build search | |
| docker-compose down search | |
| # Registration | |
| mvn clean install -B -T 2C -pl applications/reference-data -am ; docker-compose stop reference-data search ; docker-compose up -d | |
| # Log | |
| docker-compose logs -f search | |
| docker-compose logs -f concept-catalogue-gui | |
| # Rebuild | |
| winpty docker-compose exec search sh -c "pm2 restart start" | |
| # Run with remove-on-exit (run --rm) | |
| docker-compose -f docker-compose.builder.yml run --rm registration-react | |
| # Run with override file | |
| docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment