Última atividade 1714389427

wl revisou este gist 1714389427. Ir para a revisão

1 file changed, 8 insertions, 5 deletions

docker-compose.yml

@@ -31,17 +31,20 @@ services:
31 31 - /etc/timezone:/etc/timezone:ro
32 32 - /etc/localtime:/etc/localtime:ro
33 33 ports:
34 - - "3000:3000"
35 - - "222:22"
34 + - ":3000"
36 35
37 36 opengist:
38 37 image: ghcr.io/thomiceli/opengist:1.7
39 38 restart: always
39 + environment:
40 + - OG_CUSTOM_LOGO=logo.png
41 + - OG_CUSTOM_FAVICON=logo.png
42 + - OG_SSH_GIT_ENABLED=false
40 43 ports:
41 - - "6157:6157" # HTTP port
44 + - ":6157" # HTTP port
42 45 volumes:
43 46 - "./opengist:/opengist"
44 -
47 +
45 48 volumes:
46 49 forgejo:
47 - driver: local
50 + driver: local

wl revisou este gist 1714388233. Ir para a revisão

1 file changed, 47 insertions

docker-compose.yml(arquivo criado)

@@ -0,0 +1,47 @@
1 + services:
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:3000"
35 + - "222:22"
36 +
37 + opengist:
38 + image: ghcr.io/thomiceli/opengist:1.7
39 + restart: always
40 + ports:
41 + - "6157:6157" # HTTP port
42 + volumes:
43 + - "./opengist:/opengist"
44 +
45 + volumes:
46 + forgejo:
47 + driver: local
Próximo Anterior