... |
... |
@@ -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,6 @@ |
52 |
52 |
- "traefik.http.services.gitea.loadbalancer.server.port=3000" |
53 |
53 |
{{/code}} |
54 |
54 |
|
55 |
|
-* Execute {{code language="none"}}docker-compose up -d{{/code}} |
|
54 |
+* 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. |