最后活跃于 1714389427

docker-compose.yml 原始文件
1services:
2 nginx:
3 image: nginx:latest
4 restart: always
5 volumes:
6 - ./conf:/etc/nginx/conf.d/
7 - ./wiki:/usr/share/nginx/wiki
8 - ./html:/usr/share/nginx/html
9 - ./certs:/usr/share/nginx/certs
10 ports:
11 - 443:443
12 depends_on:
13 - fpm
14
15 fpm:
16 image: php:fpm
17 restart: always
18 ports:
19 - ":9000"
20 volumes:
21 - ./wiki:/usr/share/nginx/wiki
22
23 forgejo:
24 image: codeberg.org/forgejo/forgejo:7
25 environment:
26 - USER_UID=1000
27 - USER_GID=1000
28 restart: always
29 volumes:
30 - forgejo:/data
31 - /etc/timezone:/etc/timezone:ro
32 - /etc/localtime:/etc/localtime:ro
33 ports:
34 - ":3000"
35
36 opengist:
37 image: ghcr.io/thomiceli/opengist:1.7
38 restart: always
39 environment:
40 - OG_CUSTOM_LOGO=logo.png
41 - OG_CUSTOM_FAVICON=logo.png
42 - OG_SSH_GIT_ENABLED=false
43 ports:
44 - ":6157" # HTTP port
45 volumes:
46 - "./opengist:/opengist"
47
48volumes:
49 forgejo:
50 driver: local