Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joohanhong
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JooHan Hong
joohanhong
Commits
55533791
Commit
55533791
authored
Mar 19, 2021
by
JooHan Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swarm image 교체
parent
b0db697b
Pipeline
#5238
passed with stages
in 43 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
13 deletions
+49
-13
README.md
DOCKER/SWARM/README.md
+49
-13
hongsnet-container-deploy_swarm.png
DOCKER/SWARM/images/hongsnet-container-deploy_swarm.png
+0
-0
No files found.
DOCKER/SWARM/README.md
View file @
55533791
...
...
@@ -270,22 +270,17 @@ services:
hongsnet:
image: registry.hongsnet.net/joohan.hong/docker/hongsnet:latest
volumes:
-
"/WEB_SRC/config/passwd:/etc/passwd"
-
"/WEB_SRC/config/group:/etc/group"
-
"/WEB_SRC/config/shadow:/etc/shadow"
-
"/WEB_SRC/home:/home"
-
"/WEB_DATA/EDU/Data:/home/edu/public_html/HongsBoard/Data"
-
"/WEB_DATA/EDU/Web_editor/EDU:/home/edu/public_html/HongsBoard/Web_editor/EDU"
-
"/WEB_DATA/EDU/Web_editor/FILE:/home/edu/public_html/HongsBoard/Web_editor/FILE"
-
"/WEB_DATA/HONGSNET/Data:/home/hongsnet/public_html/Data"
-
"/WEB_DATA/HONGSNET/Web_editor/FILE:/home/hongsnet/public_html/Web_editor/FILE"
-
"/WEB_DATA/NEWHONGSYSTEM/Data:/home/newhongsystem/public_html/Data"
-
"/WEB_DATA/NEWHONGSYSTEM/Web_editor/FILE:/home/newhongsystem/public_html/Web_editor/FILE"
- HOME:/home
- EDU_DATA:/home/edu/public_html/HongsBoard/Data
- EDU_EDITOR:/home/edu/public_html/HongsBoard/Web_editor/EDU
"
- EDU_FILE:/home/edu/public_html/HongsBoard/Web_editor/FILE"
- HONGS_DATA:/home/hongsnet/public_html/Data
"
- HONGS_EDITOR:/home/hongsnet/public_html/Web_editor/FILE"
- NEWSYSTEM_DATA:/home/newhongsystem/public_html/Data
"
- NEWSYSTEM_EDITOR:/home/newhongsystem/public_html/Web_editor/FILE"
ports:
-
"80:80"
deploy:
#mode: replicated
#replicas: 3
mode: global
placement:
constraints:
[
node.hostname
!=
TB2-DOCKER]
...
...
@@ -297,6 +292,47 @@ services:
max_attempts: 3
window: 120s
volumes:
HOME:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_SRC/home"
EDU_DATA:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/EDU/Data"
EDU_EDITOR:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/EDU/Web_editor/EDU"
EDU_FILE:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/EDU/Web_editor/FILE"
HONGS_DATA:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/HONGSNET/Data"
HONGS_EDITOR:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/HONGSNET/Web_editor/FILE"
NEWSYSTEM_DATA:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/NEWHONGSYSTEM/Data"
NEWSYSTEM_EDITOR:
driver_opts:
type
:
"nfs"
o:
"addr=192.192.0.254,nolock,soft,rw"
device:
":/WEB_DATA/NEWHONGSYSTEM/Web_editor/FILE"
```
> `global mode`를 사용한다. 이는 Front-End에 Load Balancer(HA-Proxy)로 구성된 구조에 따른 것이다. 내역은 다음과 같다.
...
...
DOCKER/SWARM/images/hongsnet-container-deploy_swarm.png
View replaced file @
b0db697b
View file @
55533791
85.2 KB
|
W:
|
H:
109 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment