forked from M-Ahadi/dockers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
449 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,284 @@ | ||
<style> | ||
font-face{ | ||
font-family:"B Nazanin."; | ||
url(../assets/fonts/Far_Nazanin.ttf) format("truetype"); | ||
font-weight:normal; | ||
font-style:normal; | ||
} | ||
*{ | ||
font-family:"B Nazanin" , tahoma !important; | ||
font-size: normal; | ||
} | ||
#mw-container .drilldown-title, | ||
.aui-page-panel-content.one-panel .search-results, | ||
.search-results-container, | ||
.search-blanket, | ||
.list-container-popular-stream .stream-item-heading-link, | ||
body#tinymce.page-edit, | ||
body#tinymce.template-editor, | ||
body.mceContentBody { | ||
direction: rtl; | ||
font-family: 'B Nazanin', 'IranSans', 'Iran', 'Droid Arabic Naskh', Tahoma, sans-serif; | ||
} | ||
.markdown { | ||
word-wrap: normal; | ||
overflow-wrap: normal; | ||
word-break: normal; | ||
} | ||
time:before { | ||
content: '\200F' | ||
} | ||
.aui-buttons .aui-button:first-child { | ||
border-top-right-radius: 3.01px; | ||
border-bottom-right-radius: 3.01px; | ||
border-top-left-radius: 0; | ||
border-bottom-left-radius: 0; | ||
} | ||
.aui-buttons .aui-button~.aui-button { | ||
border-left-width: 1px; | ||
padding-left: 6px; | ||
border-right-width: 0; | ||
padding-right: 11px; | ||
} | ||
.user-profile .content-navigation .ajs-menu-bar { | ||
float: left; | ||
} | ||
.code, code, [data-macro-name="code"], | ||
.wiki-content .wysiwyg-macro-body>pre { | ||
direction: ltr; | ||
text-align: left; | ||
} | ||
#search-results-meta { | ||
direction: ltr; | ||
text-align: right; | ||
} | ||
.search-macro-medium, | ||
.mytasks, | ||
ul.inline-task-list { | ||
direction: ltr; | ||
}.recently-updated-concise .update-item-content { | ||
padding-right: 21px; | ||
padding-left: 0; | ||
} | ||
#mw-container .drilldown-header-title { | ||
padding-left: 0; | ||
padding-right: 5px; | ||
} | ||
#mw-container .drilldown-new-actions { | ||
padding: 5px 10px 5px 0; | ||
text-align: right; | ||
} | ||
#mw-container .mw-notification-text, | ||
#mw-container .mw-drilldown-item .mw-drilldown-excerpt, | ||
.list-container-all-updates .update-items .update-item-content, | ||
#content-title, | ||
body.mceContentBody, | ||
#title-text, | ||
.wiki-content, | ||
.acs-side-bar-content, | ||
.aui-label, | ||
.default-list-view .item-title, | ||
.contenteditor #full-height-container>div, | ||
.contenteditor #editpagetemplate>div, | ||
.contenteditor #createpagetemplate>div, | ||
.contenteditor #editpageform>div, | ||
.contenteditor #createpageform>div, | ||
.update-item-details,table.aui>thead>tr>th, | ||
table.aui>tbody>tr>th, table.aui>thead>tr>td, | ||
table.aui>tbody>tr>td, | ||
table.aui>tfoot>tr>td { | ||
font-family: 'B Nazanin', 'IranSans', 'Iran', 'Droid Arabic Naskh', serif; | ||
} | ||
#mw-container .mw-drilldown-item .mw-drilldown-excerpt { | ||
direction: rtl; | ||
} | ||
.list-container-all-updates .update-items .update-item-content, | ||
.default-list-view .item-title,.update-item-details { | ||
direction: rtl; | ||
text-align: left; | ||
} | ||
#content-title { | ||
height: 54px; | ||
line-height: 54px; | ||
} | ||
.contenteditor #editor-precursor { | ||
direction: rtl; | ||
} | ||
#editor-precursor .cell { | ||
padding-left: 0; | ||
padding-right: 30px; | ||
} | ||
#breadcrumbs li:before { | ||
padding: 0 6px 0 2px; | ||
} | ||
#editor-precursor #breadcrumbs { | ||
padding-left: 0; | ||
padding-right: 10px; | ||
} | ||
#content-title-div { | ||
padding: 0 10px 0 30px; | ||
font-weight: 400; | ||
} | ||
#editor-precursor .aui-toolbar2 { | ||
padding-right: 10px; | ||
padding-left: 0; | ||
} | ||
body.mceContentBody { | ||
direction: rtl; | ||
text-align: right; | ||
font-size: 14px; | ||
} | ||
#title-text { | ||
direction: rtl; | ||
text-align: right; | ||
font-size: 24px; | ||
} | ||
#main-header:not(.doctheme-no-override) #title-text { | ||
padding-top: 10px; | ||
} | ||
.wiki-content, | ||
.confluenceTh, | ||
.confluenceTd, | ||
#comments-section .section-header { | ||
direction: rtl; | ||
text-align: right; | ||
} | ||
.wiki-content .header, | ||
.wiki-content .footer, | ||
.wiki-content .cell { | ||
line-height: 26px; | ||
font-size: 15px; | ||
} | ||
.wiki-content ul.inline-task-list>li { | ||
line-height: 30px; | ||
text-align: right; | ||
direction: rtl; | ||
padding-right: 18px; | ||
background-position: right 6px; | ||
} | ||
.acs-side-bar-content, | ||
.aui-label { | ||
direction: rtl; | ||
text-align: left; | ||
} | ||
.aui-label { | ||
line-height: 27px; | ||
} | ||
.wiki-content ul, | ||
.confluenceTable ol, | ||
.confluenceTable ul { | ||
line-height: 24px; | ||
} | ||
.wiki-content ol, | ||
.wiki-content ol ol ol ol, | ||
.wiki-content ol ol ol ol ol ol ol, | ||
.wiki-content ol ol ol ol ol ol ol ol ol ol { | ||
list-style-type: decimal; | ||
list-style-type: arabic-indic; | ||
} | ||
.confluenceTable ol, | ||
.confluenceTable ul { | ||
margin-right: 0; | ||
margin-left: 0; | ||
padding-left: 0; | ||
padding-right: 22px; | ||
} | ||
.wiki-content time, | ||
.wiki-content .user-mention { | ||
font-family: Arial, sans-serif; | ||
} | ||
.comment .comment-user-logo { | ||
margin: 0 0 0 10px; | ||
float: right; | ||
} | ||
.quick-comment-body { | ||
padding-right: 42px; | ||
padding-left: 0; | ||
} | ||
.comment-body, | ||
.comment-header { | ||
padding: 0 42px 0 0; | ||
} | ||
.aui-toolbar2 .aui-buttons { | ||
float: right; | ||
} | ||
#rte-savebar .aui-buttons { | ||
margin-right: 0; | ||
margin-left: 10px; | ||
} | ||
#rte-savebar .save-button-container { | ||
float: right; | ||
padding-left: 10px; | ||
padding-right: 0; | ||
margin-right: 0; | ||
margin-left: 10px; | ||
} | ||
ol.comment-threads.top-level { | ||
padding-right: 0; | ||
} | ||
ol.comment-threads { | ||
padding-left: 0; | ||
padding-right: 40px; | ||
} | ||
#comments-section .comment.focused { | ||
margin-right: -10px; | ||
padding-right: 10px; | ||
margin-left: 0; | ||
padding-left: 0; | ||
} | ||
.comment-body .comment-content.wiki-content { | ||
padding-left: 20px; | ||
padding-right: 0; | ||
} | ||
.comment-header .author { | ||
text-align: right; | ||
} | ||
.comment-actions-primary li { | ||
float: right; | ||
direction: rtl; | ||
} | ||
.page-metadata ul li { | ||
float: right; | ||
padding: 0 0 0 5px; | ||
} | ||
#main { | ||
padding-right: 40px; | ||
padding-left: 20px; | ||
} | ||
#main #content { | ||
padding-left: 20px; | ||
padding-right: 0; | ||
} | ||
.wiki-content time{ | ||
display: inline-block; | ||
} #main .icon-section-closed { | ||
-webkit-transform: scaleX(-1); | ||
transform: scaleX(-1); | ||
} | ||
#main div.plugin_pagetree ul.plugin_pagetree_children_list>li>div.plugin_pagetree_childtoggle_container { | ||
float: right; | ||
} | ||
#main .plugin_pagetree_children_span { | ||
float: right; | ||
} | ||
#main .plugin_pagetree .plugin_pagetree_children_list>li>.plugin_pagetree_children_content { | ||
width: 98% | ||
} | ||
#main div.plugin_spacetree ul.plugin_spacetree_children_list li .plugin_spacetree_childtoggle_container{ | ||
float:right; | ||
} | ||
#main div.plugin_spacetree ul.plugin_spacetree_children_list li .plugin_spacetree_children_content { | ||
float: left; | ||
width: 88%; | ||
} | ||
#main div.plugin_spacetree_container.modern-style .plugin_spacetree_childtoggle_container .icon-plus{ | ||
-webkit-transform: scaleX(-1); | ||
transform: scaleX(-1); | ||
} | ||
#main-content ol li { | ||
text-align: right !important; | ||
} | ||
.panel .panelContent p { | ||
text-align: justify; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
version: '2' | ||
|
||
services: | ||
confluence: | ||
user: root | ||
restart: always | ||
image: atlassian/confluence-server:6.14.0-alpine | ||
container_name: confluence | ||
hostname: confluence | ||
networks: | ||
- confluencenet | ||
volumes: | ||
- confluencedata:/var/atlassian/application-data/confluence | ||
- ./atlassian-agent.jar:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-agent.jar | ||
ports: | ||
- '80:8090' | ||
- '8091:8091' | ||
environment: | ||
- 'CATALINA_OPTS= -Xms256m -Xmx1g' | ||
- 'CONFLUENCE_PROXY_NAME=' | ||
- 'CONFLUENCE_PROXY_PORT=' | ||
- 'CONFLUENCE_PROXY_SCHEME=' | ||
- 'CONFLUENCE_DELAYED_START=' | ||
- JAVA_OPTS=-javaagent:/opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-agent.jar ${JAVA_OPTS} | ||
labels: | ||
com.blacklabelops.description: "Atlassian Confluence" | ||
com.blacklabelops.service: "confluence" | ||
depends_on: | ||
- postgresql | ||
|
||
postgresql: | ||
restart: always | ||
image: postgres:11.5 | ||
container_name: postgres | ||
hostname: postgres | ||
networks: | ||
- confluencenet | ||
volumes: | ||
- postgresqldata:/var/lib/postgresql/data | ||
environment: | ||
- 'POSTGRES_USER=confluencedb' | ||
# CHANGE THE PASSWORD! | ||
- 'POSTGRES_PASSWORD=ASDKJH873efdsfasdasd' | ||
- 'POSTGRES_DB=confluencedb' | ||
- 'POSTGRES_ENCODING=UTF8' | ||
- 'POSTGRES_COLLATE=C' | ||
- 'POSTGRES_COLLATE_TYPE=C' | ||
labels: | ||
com.blacklabelops.description: "PostgreSQL Database Server" | ||
com.blacklabelops.service: "postgresql" | ||
|
||
volumes: | ||
confluencedata: | ||
external: false | ||
postgresqldata: | ||
external: false | ||
|
||
networks: | ||
confluencenet: | ||
driver: bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
https://tech.cuixiangbin.com/?p=1248 | ||
|
||
export JAVA_OPTS="-javaagent:/path/to/atlassian-agent.jar ${JAVA_OPTS}" | ||
|
||
java -jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-agent.jar -p conf -m [email protected] -n my_name -o mydomain.com -s BN4A-034I-D4H8-9OCZ | ||
java -jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-agent.jar -p tc -m [email protected] -n my_name -o mydomain.com -s BN4A-034I-D4H8-9OCZ | ||
java -jar /opt/atlassian/confluence/confluence/WEB-INF/lib/atlassian-agent.jar -p questions -m [email protected] -n my_name -o mydomain.com -s BN4A-034I-D4H8-9OCZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.