rdf gist felülvizsgálása . Revízióhoz ugrás
Nincsenek változtatások
rdf gist felülvizsgálása . Revízióhoz ugrás
1 file changed, 0 insertions, 0 deletions
nginx fájl átnevezve erre: docker-compose
Fájl átnevezve változtatások nélkül
rdf gist felülvizsgálása . Revízióhoz ugrás
1 file changed, 223 insertions
nginx(fájl létrehozva)
@@ -0,0 +1,223 @@ | |||
1 | + | version: "3" # 表示该docker-compose.yml文件使用的是Version 3 | |
2 | + | services: # 为project定义服务 | |
3 | + | nginx: # 指定服务名称 | |
4 | + | image: nginx # 指定服务所使用的镜像 | |
5 | + | ports: # 暴露端口信息 | |
6 | + | - 80:80 | |
7 | + | - 8080:8080 | |
8 | + | - 443:443 | |
9 | + | volumes: | |
10 | + | - ./html:/usr/share/nginx/html | |
11 | + | - ./conf.d:/etc/nginx/conf.d | |
12 | + | - ./nginx.conf:/etc/nginx/nginx.conf | |
13 | + | - ./log:/var/log/nginx | |
14 | + | restart: always | |
15 | + | ||
16 | + | opengist: | |
17 | + | image: ghcr.io/thomiceli/opengist:1.7 | |
18 | + | container_name: opengist | |
19 | + | restart: unless-stopped | |
20 | + | ports: | |
21 | + | - "6157:6157" # HTTP port | |
22 | + | #- "2222:2222" # SSH port, can be removed if you don't use SSH | |
23 | + | volumes: | |
24 | + | - "./opengist:/opengist" | |
25 | + | memos: | |
26 | + | image: hub.aiursoft.cn/ghcr.io/usememos/memos:latest | |
27 | + | container_name: memos | |
28 | + | ports: | |
29 | + | - 5230:5230 | |
30 | + | volumes: | |
31 | + | - "./memos:/var/opt/memos" | |
32 | + | restart: unless-stopped | |
33 | + | drawio: | |
34 | + | image: swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jgraph/drawio:24.7.5 | |
35 | + | container_name: drawio | |
36 | + | restart: unless-stopped | |
37 | + | ports: | |
38 | + | - 28080:8080 | |
39 | + | - 28443:8443 | |
40 | + | volumes: | |
41 | + | - ./drawio:/drawio | |
42 | + | environment: | |
43 | + | PUBLIC_DNS: domain | |
44 | + | ORGANISATION_UNIT: unit | |
45 | + | ORGANISATION: org | |
46 | + | CITY: city | |
47 | + | STATE: state | |
48 | + | COUNTRY_CODE: country | |
49 | + | healthcheck: | |
50 | + | test: ["CMD-SHELL", "curl -f http://domain:28080 || exit 1"] | |
51 | + | interval: 1m30s | |
52 | + | timeout: 10s | |
53 | + | retries: 5 | |
54 | + | start_period: 10s | |
55 | + | tracer: | |
56 | + | image: hub.aiursoft.cn/aiursoft/tracer | |
57 | + | container_name: tracer | |
58 | + | restart: unless-stopped | |
59 | + | ports: | |
60 | + | - "666:5000" | |
61 | + | volumes: | |
62 | + | - ./tracer:/data | |
63 | + | kanboard: | |
64 | + | image: kanboard/kanboard | |
65 | + | restart: always | |
66 | + | ports: | |
67 | + | - 667:80 | |
68 | + | volumes: | |
69 | + | - ./kanboard/kanboard_data:/var/www/app/data | |
70 | + | - ./kanboard/kanboard_plugins:/var/www/app/plugins | |
71 | + | - ./kanboard/kanboard_ssl:/etc/nginx/ssl | |
72 | + | cozy: | |
73 | + | image: cozy/cozy-stack | |
74 | + | restart: always | |
75 | + | ports: | |
76 | + | - "668:80" | |
77 | + | environment: | |
78 | + | - COZY_ADMIN_PASSWORD=source2017 | |
79 | + | volumes: | |
80 | + | - './cozy-data:/mnt/cozy' # 使用 Docker Volume 存储数据 | |
81 | + | gitlab: | |
82 | + | image: gitlab/gitlab-ee | |
83 | + | container_name: gitlab | |
84 | + | restart: always | |
85 | + | hostname: 'gitlab.ruasoft.cn' | |
86 | + | environment: | |
87 | + | GITLAB_OMNIBUS_CONFIG: | | |
88 | + | external_url 'http://gitlab.ruasoft.cn:80' | |
89 | + | gitlab_rails['gitlab_shell_ssh_port'] = 2202 | |
90 | + | ports: | |
91 | + | - '8280:80' | |
92 | + | - '8443:443' | |
93 | + | - '2202:22' | |
94 | + | volumes: | |
95 | + | - './GITLAB_HOME/config:/etc/gitlab' | |
96 | + | - './GITLAB_HOME/logs:/var/log/gitlab' | |
97 | + | - './GITLAB_HOME/data:/var/opt/gitlab' | |
98 | + | shm_size: '256m' | |
99 | + | gitea: | |
100 | + | image: gitea/gitea:1.21.11-rootless | |
101 | + | restart: always | |
102 | + | volumes: | |
103 | + | - ./gitea/data:/var/lib/gitea | |
104 | + | - ./gitea/config:/etc/gitea | |
105 | + | - /etc/timezone:/etc/timezone:ro | |
106 | + | - /etc/localtime:/etc/localtime:ro | |
107 | + | ports: | |
108 | + | - "3000:3000" | |
109 | + | - "2425:2222" | |
110 | + | logseq: | |
111 | + | image: ghcr.io/logseq/logseq-webapp | |
112 | + | container_name: logseq | |
113 | + | ports: | |
114 | + | - "13000:80" | |
115 | + | volumes: | |
116 | + | - ./Logseq_data:/data | |
117 | + | environment: | |
118 | + | - LANG=zh_CN.UTF-8 | |
119 | + | - LOGSEQ_HOME=/data | |
120 | + | restart: always | |
121 | + | blog: | |
122 | + | image: hub.aiursoft.cn/aiursoft/moongladepure | |
123 | + | restart: unless-stopped | |
124 | + | ports: | |
125 | + | - 5002:5000 | |
126 | + | volumes: | |
127 | + | - ./moongladepure/www/data:/data | |
128 | + | manhours: | |
129 | + | image: hub.aiursoft.cn/aiursoft/manhours | |
130 | + | restart: unless-stopped | |
131 | + | ports: | |
132 | + | - "5003:5000" | |
133 | + | volumes: | |
134 | + | - ./manhours:/data | |
135 | + | #documentserver: | |
136 | + | # image: onlyoffice/documentserver | |
137 | + | # restart: unless-stopped | |
138 | + | # volumes: | |
139 | + | # - ./onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data | |
140 | + | # ports: | |
141 | + | # - 880:80 | |
142 | + | registry-ui: | |
143 | + | depends_on: | |
144 | + | - registry-server | |
145 | + | image: joxit/docker-registry-ui:main | |
146 | + | restart: always | |
147 | + | ports: | |
148 | + | - target: 81 | |
149 | + | published: 81 | |
150 | + | protocol: tcp | |
151 | + | mode: host | |
152 | + | ||
153 | + | environment: | |
154 | + | - SINGLE_REGISTRY=false | |
155 | + | - REGISTRY_TITLE=Docker Registry UI | |
156 | + | - DELETE_IMAGES=true | |
157 | + | - SHOW_CONTENT_DIGEST=true | |
158 | + | - NGINX_PROXY_PASS_URL=http://registry-server:5000 | |
159 | + | - SHOW_CATALOG_NB_TAGS=true | |
160 | + | - CATALOG_MIN_BRANCHES=1 | |
161 | + | - CATALOG_MAX_BRANCHES=1 | |
162 | + | - TAGLIST_PAGE_SIZE=100 | |
163 | + | - REGISTRY_SECURED=false | |
164 | + | - CATALOG_ELEMENTS_LIMIT=1000 | |
165 | + | container_name: registry-ui | |
166 | + | registry-server: | |
167 | + | image: hub.aiursoft.cn/registry:2 | |
168 | + | restart: always | |
169 | + | ports: | |
170 | + | - "5000:5000" | |
171 | + | environment: | |
172 | + | REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin: '[https://registry.ruasoft.cn]' | |
173 | + | REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods: '[HEAD,GET,OPTIONS,DELETE]' | |
174 | + | REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials: '[true]' | |
175 | + | REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers: '[Authorization,Accept,Cache-Control]' | |
176 | + | REGISTRY_HTTP_HEADERS_Access-Control-Expose-Headers: '[Docker-Content-Digest]' | |
177 | + | REGISTRY_STORAGE_DELETE_ENABLED: 'true' | |
178 | + | volumes: | |
179 | + | - ./docker-registry/data:/var/lib/registry | |
180 | + | container_name: registry-server | |
181 | + | ||
182 | + | remotely: | |
183 | + | image: immybot/remotely:latest | |
184 | + | container_name: remotely | |
185 | + | volumes: | |
186 | + | - ./remotely:/app/AppData | |
187 | + | restart: unless-stopped | |
188 | + | ports: | |
189 | + | - "58089:58089" | |
190 | + | networks: | |
191 | + | - remotely | |
192 | + | environment: | |
193 | + | - ASPNETCORE_ENVIRONMENT=Production | |
194 | + | - ASPNETCORE_HTTP_PORTS=58089 | |
195 | + | # Other ASP.NET Core configurations can be overridden here, such as Logging. | |
196 | + | # See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0 | |
197 | + | - Serilog__MinimumLevel__Override__Microsoft.AspNetCore=Warning | |
198 | + | - Serilog__MinimumLevel__Override__System=Warning | |
199 | + | ||
200 | + | # Values for DbProvider are SQLite, SQLServer, and PostgreSQL. | |
201 | + | - Remotely_ApplicationOptions__DbProvider=SQLite | |
202 | + | # The Docker gateway will be used in Forwarded Headers, which is necessary to | |
203 | + | # to correctly determine request hostname and scheme within the app. If you change | |
204 | + | # the network config, you must update this value as well. | |
205 | + | - Remotely_ApplicationOptions__DockerGateway=172.28.0.1 | |
206 | + | # This path shouldn't be changed. It points to the Docker volume. | |
207 | + | - Remotely_ConnectionStrings__SQLite=Data Source=/app/AppData/Remotely.db | |
208 | + | # If using SQL Server, change the connection string to point to your SQL Server instance. | |
209 | + | - Remotely_ConnectionStrings__SQLServer=Server=(localdb)\\mssqllocaldb;Database=Remotely-Server-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true | |
210 | + | # If using PostgreSQL, change the connection string to point to your PostgreSQL instance. | |
211 | + | - Remotely_ConnectionStrings__PostgreSQL=Server=Host=localhost;Database=Remotely;Username=postgres; | |
212 | + | networks: | |
213 | + | net: | |
214 | + | driver: overlay | |
215 | + | # gitlab: | |
216 | + | # name: gitlab-network | |
217 | + | remotely: | |
218 | + | name: remotely-network | |
219 | + | driver: bridge | |
220 | + | ipam: | |
221 | + | config: | |
222 | + | - subnet: 172.28.0.0/16 | |
223 | + | gateway: 172.28.0.1 |