Skip to content

Commit 0b79bd1

Browse files
committed
Add OAuth in makefile
1 parent 57fdb79 commit 0b79bd1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Makefile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,10 @@ run-local: build-local
7676
--memory=1g \
7777
--cpuset-cpus=0 \
7878
-e ENV=development \
79-
-p "8080:8080" \
79+
-e PANEL_OAUTH_REDIRECT_URI=$(PANEL_OAUTH_REDIRECT_URI) \
80+
-e PANEL_OAUTH_SECRET=$(PANEL_OAUTH_SECRET) \
81+
-e PANEL_OAUTH_KEY=$(PANEL_OAUTH_KEY) \
82+
-p "5006:8080" \
8083
simdec-panel-local:$(version)
8184

8285
# Need to specifically build on linux/amd64 to avoid issues on macOS M platform
@@ -94,7 +97,10 @@ run: build
9497
--memory=1g \
9598
--cpuset-cpus=0 \
9699
-e ENV=development \
97-
-p "8080:8080" \
100+
-e PANEL_OAUTH_REDIRECT_URI=$(PANEL_OAUTH_REDIRECT_URI) \
101+
-e PANEL_OAUTH_SECRET=$(PANEL_OAUTH_SECRET) \
102+
-e PANEL_OAUTH_KEY=$(PANEL_OAUTH_KEY) \
103+
-p "5006:8080" \
98104
simdec-panel:$(version)
99105

100106
# Ship

0 commit comments

Comments
 (0)