Created
April 29, 2022 10:55
-
-
Save dahse89/744741b81fdd95a83642ee9131695d19 to your computer and use it in GitHub Desktop.
Simple docker deployment
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
#!/bin/bash | |
docker context create remote --docker "host=ssh://user@remotemachine" | |
docker-compose -f docker-compose.production.yml --context remote up -d --no-deps --build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment