[closes #33] Added compose file; ./fejctl rr works now
This commit is contained in:
parent
65c3d616de
commit
00bf8501dd
3 changed files with 52 additions and 2 deletions
14
fejctl
14
fejctl
|
|
@ -105,7 +105,18 @@ function stop() {
|
|||
}
|
||||
|
||||
function run_release() {
|
||||
echo "Not implemented"
|
||||
docker-compose \
|
||||
--file docker/docker-compose.yml \
|
||||
--project-name fej-release \
|
||||
up \
|
||||
--detach
|
||||
}
|
||||
|
||||
function stop_release() {
|
||||
docker-compose \
|
||||
--file docker/docker-compose.yml \
|
||||
--project-name fej-release \
|
||||
down
|
||||
}
|
||||
|
||||
# Tags & pushes the release version to Docker Hub
|
||||
|
|
@ -155,6 +166,7 @@ function main() {
|
|||
r | run ) run "$bin" ;;
|
||||
rr | run-release ) run_release ;;
|
||||
s | stop ) stop ;;
|
||||
sr | stop-release ) stop_release ;;
|
||||
|
||||
# Ease of life
|
||||
psql ) docker exec -it fej_db psql -U fej -d fej ;;
|
||||
|
|
|
|||
Reference in a new issue