-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (20 loc) · 664 Bytes
/
Makefile
File metadata and controls
22 lines (20 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# LOAD ENVIRONMENTAL VARIABLES FROM .ENV FILES
include .env
export $(shell sed "s/=.*//" .env)
npm_i = docker-compose -f ./docker-compose.yml --env-file ./.env up
npm_run_build = docker-compose -f ./docker-compose.yml --env-file ./.env up
npm_run_dev = docker-compose -f ./docker-compose.yml --env-file ./.env up
npm_i = docker-compose -f ./docker-compose.yml --env-file ./.env up
yarn_i = docker-compose up --build -d --remove-orphans
compose_kill = docker-compose kill
compose_logs = docker-compose logs
dc_deploy:
$(compose_kill)
$(compose_build)
$(compose_up) || true
dc_up:
$(compose_up) || true
dc_logs:
$(compose_logs)
dc_build:
$(compose_build)