Ver Fonte

[gogs] Start it and set a different port

Colin Powell há 3 anos atrás
pai
commit
14ba99c982

+ 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/