-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathforgejo.json
More file actions
102 lines (102 loc) · 2.91 KB
/
forgejo.json
File metadata and controls
102 lines (102 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"Forgejo": {
"description": "Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.<p><p>Based on the <a href='https://codeberg.org/forgejo/-/packages/container/forgejo/12' target=_blank>official OCI image</a>, available for amd64 and arm64 architecture.</p>",
"version": "0.5.0",
"website": "https://forgejo.org/",
"containers": {
"forgejo": {
"image": "codeberg.org/forgejo/forgejo",
"tag": "12",
"launch_order": 2,
"ports": {
"22": {
"description": "Forgejo SSH port.",
"label": "SSH port [e.g. 222]",
"host_default": 222,
"protocol": "tcp"
},
"3000": {
"description": "Forgejo WebUI port.",
"label": "WebUI port [e.g. 3000]",
"host_default": 3000,
"protocol": "tcp",
"ui": true
}
},
"volumes": {
"/data": {
"description": "Share for forgejo data. E.g.: create a Share called forgejo-data for this purpose alone.",
"label": "Forgejo data [e.g. forgejo-data]"
}
},
"opts": [
[
"-e",
"FORGEJO__database__DB_TYPE=postgres"
],
[
"-e",
"FORGEJO__database__HOST=forgejo-db:5432"
],
[
"-e",
"FORGEJO__database__NAME=forgejo"
],
[
"-e",
"FORGEJO__database__USER=forgejo"
],
[
"-e",
"FORGEJO__database__PASSWD=forgejo"
]
],
"environment": {
"USER_GID": {
"description": "GID to run Forgejo with. It must have full permissions to the share mapped in the previous step.",
"label": "GID [e.g. 1000]",
"index": 2
},
"USER_UID": {
"description": "UID to run Forgejo with. It must have full permissions to the share mapped in the previous step.",
"label": "UID [e.g. 1000]",
"index": 1
}
}
},
"forgejo-db": {
"image": "postgres",
"tag": "16",
"launch_order": 1,
"volumes": {
"/var/lib/postgresql/data": {
"description": "Forgejo database location. E.g.: create a Share called forgejo-db for this purpose alone.",
"label": "Forgejo db [e.g. forgejo-db]"
}
},
"opts": [
[
"-e",
"POSTGRES_USER=forgejo"
],
[
"-e",
"POSTGRES_PASSWORD=forgejo"
],
[
"-e",
"POSTGRES_DB=forgejo"
]
]
}
},
"container_links": {
"forgejo": [
{
"name": "ForgejoToDB",
"source_container": "forgejo-db"
}
]
}
}
}