Changes for page Gitea

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

From version 1.6
edited by chrisby
on 2023/11/18 14:58
Change comment: There is no comment for this version
To version 1.3
edited by chrisby
on 2023/09/03 23:00
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,7 +35,6 @@
35 35   environment:
36 36   - USER_UID=1000
37 37   - USER_GID=1000
38 - - DISABLE_REGISTRATION=true
39 39   restart: unless-stopped
40 40   volumes:
41 41   - gitea:/data
... ... @@ -43,6 +43,8 @@
43 43   - /etc/localtime:/etc/localtime:ro
44 44   ports:
45 45   - "2222:22"
45 + environment:
46 + - DISABLE_REGISTRATION=true
46 46   labels:
47 47   - "traefik.enable=true"
48 48   - "traefik.http.routers.gitea.rule=Host(`<subdomain>`)"
... ... @@ -51,8 +51,6 @@
51 51   - "traefik.http.services.gitea.loadbalancer.server.port=3000"
52 52  {{/code}}
53 53  
54 -====== Instructions ======
55 -
56 -* Execute {{code language="none"}}docker-compose up -d{{/code}}
55 +* Execute {{code language="none"}}docker-compose up -d{{/code}}
57 57  * Go to {{code language="none"}}https://<subdomain>{{/code}}
58 58  * Use the default installation settings including SQLite as the database, and create an admin account. The SSH port will be available on port 2222.