chore(init): project setup with Docker support
This commit is contained in:
7
scripts/start.sh
Executable file
7
scripts/start.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Load variables
|
||||
source ./var.sh
|
||||
|
||||
# Start compose file
|
||||
cd .. && docker compose -f $file up -d --build
|
||||
7
scripts/stop.sh
Executable file
7
scripts/stop.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Load variables
|
||||
source ./var.sh
|
||||
|
||||
# Start compose file
|
||||
cd .. && docker compose -f $file down
|
||||
4
scripts/var.sh
Executable file
4
scripts/var.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set variable for current active docker compose file
|
||||
export file="development.yml"
|
||||
Reference in New Issue
Block a user