Changes for page Gitea

Last modified by chrisby on 2024/03/03 14:52

From version 1.4
edited by chrisby
on 2023/09/11 22:02
Change comment: There is no comment for this version
To version 1.6
edited by chrisby
on 2023/11/18 14:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -**docker-compose.yml**
1 +====== docker-compose.yml ======
2 2  
3 3  {{code language="yaml"}}
4 4  version: "3.3"
... ... @@ -35,6 +35,7 @@
35 35   environment:
36 36   - USER_UID=1000
37 37   - USER_GID=1000
38 + - DISABLE_REGISTRATION=true
38 38   restart: unless-stopped
39 39   volumes:
40 40   - gitea:/data
... ... @@ -42,8 +42,6 @@
42 42   - /etc/localtime:/etc/localtime:ro
43 43   ports:
44 44   - "2222:22"
45 - environment:
46 - - DISABLE_REGISTRATION=true
47 47   labels:
48 48   - "traefik.enable=true"
49 49   - "traefik.http.routers.gitea.rule=Host(`<subdomain>`)"
... ... @@ -52,6 +52,8 @@
52 52   - "traefik.http.services.gitea.loadbalancer.server.port=3000"
53 53  {{/code}}
54 54  
54 +====== Instructions ======
55 +
55 55  * Execute {{code language="none"}}docker-compose up -d{{/code}}
56 56  * Go to {{code language="none"}}https://<subdomain>{{/code}}
57 57  * Use the default installation settings including SQLite as the database, and create an admin account. The SSH port will be available on port 2222.