-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathui.yaml
More file actions
73 lines (73 loc) · 2.38 KB
/
ui.yaml
File metadata and controls
73 lines (73 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
services:
block-explorer-ui:
image: registry.gitlab.syncad.com/hive/block_explorer_ui/explorer-subdirectory:${BLOCK_EXPLORER_UI_VERSION:-${HIVE_API_NODE_VERSION}}
environment:
PORT: 80
REACT_APP_API_ADDRESS: https://${PUBLIC_HOSTNAME}
REACT_APP_HIVE_BLOG_API_ADDRESS: https://${PUBLIC_HOSTNAME}
profiles:
- ui
networks:
haf-network:
healthcheck:
test:
- CMD-SHELL
- wget --no-verbose --tries=1 --spider http://$(hostname -i):80/explorer || exit 1
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
denser-blog:
image: registry.gitlab.syncad.com/hive/denser/blog-subdirectory:${DENSER_VERSION:-${HIVE_API_NODE_VERSION}}
restart: unless-stopped
environment:
PORT: 80
NODE_OPTIONS: --max-old-space-size=8192
REACT_APP_API_ENDPOINT: https://${PUBLIC_HOSTNAME}
REACT_APP_IMAGES_ENDPOINT: https://images.hive.blog/
REACT_APP_SITE_DOMAIN: https://${PUBLIC_HOSTNAME}/blog
REACT_APP_BLOG_DOMAIN: https://${PUBLIC_HOSTNAME}/blog
REACT_APP_WALLET_ENDPOINT: https://${PUBLIC_HOSTNAME}/wallet
REACT_APP_EXPLORER_DOMAIN: https://${PUBLIC_HOSTNAME}/explorer
REACT_APP_AI_DOMAIN: https://${PUBLIC_HOSTNAME}
REACT_APP_BASE_PATH: /blog
deploy:
resources:
limits:
memory: 12G
reservations:
memory: 2G
healthcheck:
test:
- CMD-SHELL
- wget --no-verbose --tries=1 --spider http://$(hostname -i):80/blog || exit 1
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
profiles:
- ui
networks:
haf-network:
denser-wallet:
image: registry.gitlab.syncad.com/hive/denser/wallet-subdirectory:${DENSER_VERSION:-${HIVE_API_NODE_VERSION}}
environment:
PORT: 80
REACT_APP_API_ENDPOINT: https://${PUBLIC_HOSTNAME}
REACT_APP_SSR_HOST: https://${PUBLIC_HOSTNAME}
REACT_APP_IMAGES_ENDPOINT: https://images.hive.blog/
REACT_APP_BASE_PATH: /wallet
REACT_APP_WALLET_ENDPOINT: https://${PUBLIC_HOSTNAME}/wallet
REACT_APP_BLOG_DOMAIN: https://${PUBLIC_HOSTNAME}/blog
healthcheck:
test:
- CMD-SHELL
- wget --no-verbose --tries=1 --spider http://$(hostname -i):80/wallet || exit 1
interval: 1m30s
timeout: 30s
retries: 5
start_period: 30s
profiles:
- ui
networks:
haf-network: