-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (18 loc) · 1003 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (18 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
-include .env
export
USER_UID ?= $(shell id -u)
USER_GID ?= $(shell id -g)
opencode-down: ## stop and remove opencode container
docker/compose-with-plugins.sh down --remove-orphans
opencode-build: opencode-down ## build opencode container
docker/compose-with-plugins.sh build --no-cache
opencode-build-plugins: opencode-down ## build with plugins from .env (PLUGINS=<name>,<name>)
@bash docker/build-plugins.sh
opencode-run: opencode-down ## run opencode container
docker/compose-with-plugins.sh up -d --wait opencode
@echo ' ▄ '
@echo ' █▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█'
@echo ' █ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀'
@echo ' ▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀'
@echo ' '
@echo ' Local access: http://localhost:4096'