Explorar o código

[gogs] Start it and set a different port

Colin Powell %!s(int64=3) %!d(string=hai) anos
pai
achega
14ba99c982
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 3 0
      ansible/roles/gogs/tasks/main.yml
  2. 1 1
      ansible/roles/gogs/templates/app.ini

+ 3 - 0
ansible/roles/gogs/tasks/main.yml

@@ -14,3 +14,6 @@
     owner: git
     mode: 0666
   notify: Gogs restarted
+
+- name: Gogs started
+  service: name=gogs state=started

+ 1 - 1
ansible/roles/gogs/templates/app.ini

@@ -7,7 +7,7 @@ EXTERNAL_URL                     = https://code.unbl.ink/
 DOMAIN                           = code.unbl.ink
 PROTOCOL                         = http
 HTTP_ADDR                        = 0.0.0.0
-HTTP_PORT                        = 3000
+HTTP_PORT                        = 3001
 TLS_MIN_VERSION                  = TLS12
 UNIX_SOCKET_PERMISSION           = 666
 LOCAL_ROOT_URL                   = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/