ui: Implementing deploy
This commit is contained in:
parent
66d82ab84b
commit
329c0f92cc
@ -44,3 +44,16 @@ frontend:
|
||||
- PORT=8000
|
||||
ports:
|
||||
- 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
|
||||
- ROOT_URL=http://localhost:8000
|
||||
- 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)
|
||||
AVA := $(bindir)/ava
|
||||
NYC := $(bindir)/nyc
|
||||
@ -18,7 +19,7 @@ install: install-embed-markdown-loader
|
||||
|
||||
.PHONY: start
|
||||
start:
|
||||
$(ST) -p 8080 -d src/ --no-dot -a 7200000
|
||||
$(ST) -p $(PORT) -d src/ --no-dot -a 7200000
|
||||
|
||||
.PHONY: install-production
|
||||
install-production: install-embed-markdown-loader
|
||||
|
Loading…
Reference in New Issue
Block a user