mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
ui: Implementing deploy
This commit is contained in:
parent
66d82ab84b
commit
329c0f92cc
@ -44,3 +44,16 @@ frontend:
|
|||||||
- PORT=8000
|
- PORT=8000
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
|
#############################################################################
|
||||||
|
# Frontend
|
||||||
|
#############################################################################
|
||||||
|
ui:
|
||||||
|
image: quay.io/yldio/joyent-dashboard-ui:latest
|
||||||
|
mem_limit: 128m
|
||||||
|
labels:
|
||||||
|
- triton.cns.services=ui
|
||||||
|
env_file: .env
|
||||||
|
environment:
|
||||||
|
- PORT=8080
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
@ -26,3 +26,13 @@ frontend:
|
|||||||
- PORT=8000
|
- PORT=8000
|
||||||
- ROOT_URL=http://localhost:8000
|
- ROOT_URL=http://localhost:8000
|
||||||
- CONSUL=consul
|
- CONSUL=consul
|
||||||
|
ui:
|
||||||
|
extends:
|
||||||
|
file: docker-compose.yml
|
||||||
|
service: ui
|
||||||
|
build: ./ui
|
||||||
|
links:
|
||||||
|
- consul:consul
|
||||||
|
environment:
|
||||||
|
- PORT=8080
|
||||||
|
- CONSUL=consul
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
PORT=8080
|
||||||
bindir := $(shell yarn bin)
|
bindir := $(shell yarn bin)
|
||||||
AVA := $(bindir)/ava
|
AVA := $(bindir)/ava
|
||||||
NYC := $(bindir)/nyc
|
NYC := $(bindir)/nyc
|
||||||
@ -18,7 +19,7 @@ install: install-embed-markdown-loader
|
|||||||
|
|
||||||
.PHONY: start
|
.PHONY: start
|
||||||
start:
|
start:
|
||||||
$(ST) -p 8080 -d src/ --no-dot -a 7200000
|
$(ST) -p $(PORT) -d src/ --no-dot -a 7200000
|
||||||
|
|
||||||
.PHONY: install-production
|
.PHONY: install-production
|
||||||
install-production: install-embed-markdown-loader
|
install-production: install-embed-markdown-loader
|
||||||
|
Loading…
Reference in New Issue
Block a user