summaryrefslogtreecommitdiffstats
path: root/setup/projects/services/vars/gogs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'setup/projects/services/vars/gogs.yml')
-rw-r--r--setup/projects/services/vars/gogs.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/setup/projects/services/vars/gogs.yml b/setup/projects/services/vars/gogs.yml
new file mode 100644
index 0000000..b135746
--- /dev/null
+++ b/setup/projects/services/vars/gogs.yml
@@ -0,0 +1,18 @@
+gogs:
+ builders:
+ gogs: { src: "{{ ands_repos.docker }}/gogs.git" }
+
+ pods:
+ gogs:
+ service: { host: "gogs.{{ openshift_master_default_subdomain }}", ports: [ 80/3000 ] }
+ groups: [ "services_gogs" ]
+ sched: { replicas: 1 }
+ images:
+ - stream: "gogs:latest"
+ configs:
+ - { name: "gogs", mount: "/data/gogs/conf" }
+ mappings:
+ - { name: "data", path: "gogs", mount: "/data" }
+# - { name: "tmp", path: "gogs", mount: "/data/gogs/log" }
+ probes:
+ - { port: 3000 }