1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #!/usr/bin/make
- SHELL = /bin/sh
- USER_UID := $(shell id -u)
- USER_UNAME := $(shell id -un)
- USER_GID := $(shell id -g)
- USER_GNAME := $(shell id -gn)
- export USER_UID
- export USER_UNAME
- export USER_GID
- export USER_GNAME
- build:
- docker-compose build --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
- buildnc:
- docker-compose build --no-cache --build-arg USER_UID=$(USER_UID) --build-arg USER_UNAME=$(USER_UNAME) --build-arg USER_GID=$(USER_GID) --build-arg USER_GNAME=$(USER_GNAME)
- up:
- docker-compose up -d
- upbuild:
- docker-compose up -d --build
- ps:
- docker-compose ps
- logs:
- docker-compose logs -f
- down:
- docker-compose down
- restart_client:
- docker-compose restart client
- exec_client:
- docker exec -it muntadas_client_1 bash
- #
- # exec_mysql:
- # docker exec -it materiod8_mysql_1 bash
- #
- # exec_solr:
- # docker exec -it materiod8_solr-new_1 bash
- #
- # phplegacy:
- # docker exec -it materiod8_php-legacy_1 bash
|