最后活跃于 8 months ago

Self-hosted pastebin powered by Git, open-source alternative to Github Gist

emanuelegori 修订了这个 Gist 8 months ago. 转到此修订

没有任何变更

emanuelegori 修订了这个 Gist 8 months ago. 转到此修订

1 file changed, 3 insertions, 11 deletions

docker-compose.yml

@@ -2,14 +2,11 @@ services:
2 2 opengist:
3 3 container_name: opengist
4 4 hostname: opengist
5 - networks:
6 - - npm-internal
7 5 image: ghcr.io/thomiceli/opengist:latest
8 6 security_opt:
9 7 - no-new-privileges:true
10 - # ports:
11 - # - 6157:6157
12 - # - 2222:2222 # SSH port, can be removed if you don't use SSH
8 + ports:
9 + - 6157:6157
13 10 volumes:
14 11 - /home/debian/docker:/opengist
15 12 environment:
@@ -20,9 +17,4 @@ services:
20 17 OG_CUSTOM_STATIC_LINK_0_NAME: Copyright 2024 - 2025 emanuelegori.uno
21 18 OG_CUSTOM_STATIC_LINK_0_PATH: https://emanuelegori.uno
22 19 OG_LOG_LEVEL: debug
23 - restart: unless-stopped
24 -
25 - networks:
26 - npm-internal:
27 - name: npm-internal
28 - external: true
20 + restart: unless-stopped

emanuelegori 修订了这个 Gist 10 months ago. 转到此修订

没有任何变更

emanuelegori 修订了这个 Gist 10 months ago. 转到此修订

没有任何变更

emanuelegori 修订了这个 Gist 10 months ago. 转到此修订

没有任何变更

emanuelegori 修订了这个 Gist 10 months ago. 转到此修订

1 file changed, 28 insertions

docker-compose.yml(文件已创建)

@@ -0,0 +1,28 @@
1 + services:
2 + opengist:
3 + container_name: opengist
4 + hostname: opengist
5 + networks:
6 + - npm-internal
7 + image: ghcr.io/thomiceli/opengist:latest
8 + security_opt:
9 + - no-new-privileges:true
10 + # ports:
11 + # - 6157:6157
12 + # - 2222:2222 # SSH port, can be removed if you don't use SSH
13 + volumes:
14 + - /home/debian/docker:/opengist
15 + environment:
16 + UID: 1000
17 + GID: 1000
18 + OG_CUSTOM_LOGO: logo.png
19 + OG_CUSTOM_FAVICON: logo.png
20 + OG_CUSTOM_STATIC_LINK_0_NAME: Copyright 2024 - 2025 emanuelegori.uno
21 + OG_CUSTOM_STATIC_LINK_0_PATH: https://emanuelegori.uno
22 + OG_LOG_LEVEL: debug
23 + restart: unless-stopped
24 +
25 + networks:
26 + npm-internal:
27 + name: npm-internal
28 + external: true
上一页 下一页