31 lines
891 B
Makefile
31 lines
891 B
Makefile
|
## Load profile env variables
|
||
|
include .env
|
||
|
init:
|
||
|
@bash docker/message.sh "Start"
|
||
|
make start
|
||
|
up:
|
||
|
@bash docker/message.sh "Start"
|
||
|
make start PROFILE=$(PROFILE)
|
||
|
firefox:
|
||
|
@bash docker/message.sh "Starting Firefox"
|
||
|
make start PROFILE=$(PROFILE)
|
||
|
@bash docker/message.sh "started"
|
||
|
@bash docker/firefox.sh "$(PROFILE)"
|
||
|
make ssh PROFILE=$(PROFILE)
|
||
|
ssh:
|
||
|
@bash docker/message.sh "Creating Socks"
|
||
|
@bash docker/inspect.sh "$(CONTAINER_NAME)" "$(SOCKS_PORT)"
|
||
|
@bash docker/message.sh "Created"
|
||
|
logs:
|
||
|
docker-compose logs -f
|
||
|
start: stop
|
||
|
@bash docker/message.sh "Starting Wireguard with Docker"
|
||
|
@bash docker/message.sh "Loading Profile.."
|
||
|
docker-compose -f docker-compose.env.yml up -d
|
||
|
@bash docker/message.sh "Docker server started"
|
||
|
stop:
|
||
|
@bash docker/message.sh "Stopping WireGuard with Docker"
|
||
|
docker-compose down
|
||
|
@bash docker/message.sh "WireGuard with Docker is stopped"
|
||
|
target: init
|