summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/git.yml15
-rw-r--r--services/paste.yml12
-rw-r--r--services/router.yml21
-rw-r--r--services/runit-edge.yml6
-rw-r--r--services/runit.yml6
-rw-r--r--services/taskwarrior.yml10
-rw-r--r--services/znc.yml10
7 files changed, 80 insertions, 0 deletions
diff --git a/services/git.yml b/services/git.yml
new file mode 100644
index 0000000..68129e3
--- /dev/null
+++ b/services/git.yml
@@ -0,0 +1,15 @@
+version: '3'
+
+volumes:
+ git_data:
+
+services:
+ git:
+ depends_on:
+ - runit
+ build: $IMAGES/git
+ ports:
+ - "22:22" # ssh
+ - "9418:9418" # git://
+ volumes:
+ - git_data:/data
diff --git a/services/paste.yml b/services/paste.yml
new file mode 100644
index 0000000..477301d
--- /dev/null
+++ b/services/paste.yml
@@ -0,0 +1,12 @@
+version: '3'
+
+volumes:
+ paste_data:
+
+services:
+ paste:
+ depends_on:
+ - runit-edge
+ build: $IMAGES/paste
+ volumes:
+ - paste_data:/data
diff --git a/services/router.yml b/services/router.yml
new file mode 100644
index 0000000..1c43a65
--- /dev/null
+++ b/services/router.yml
@@ -0,0 +1,21 @@
+version: '3'
+
+volumes:
+ router_data:
+
+services:
+ router:
+ build: $IMAGES/router
+ depends_on:
+ - runit
+ - git
+ - paste
+ - znc
+ - taskwarrior
+ ports:
+ - "80:80" # http
+ - "443:443" # https
+ - "6667:6667" # IRC (TLS terminated)
+ volumes:
+ - $IMAGES/router/nginx/:/etc/nginx:ro
+ - router_data:/data
diff --git a/services/runit-edge.yml b/services/runit-edge.yml
new file mode 100644
index 0000000..ed131ea
--- /dev/null
+++ b/services/runit-edge.yml
@@ -0,0 +1,6 @@
+version: '3'
+
+services:
+ runit-edge:
+ build: $IMAGES/runit-edge
+ entrypoint: /bin/true
diff --git a/services/runit.yml b/services/runit.yml
new file mode 100644
index 0000000..be5cc99
--- /dev/null
+++ b/services/runit.yml
@@ -0,0 +1,6 @@
+version: '3'
+
+services:
+ runit:
+ build: $IMAGES/runit
+ entrypoint: /bin/true
diff --git a/services/taskwarrior.yml b/services/taskwarrior.yml
new file mode 100644
index 0000000..41e015e
--- /dev/null
+++ b/services/taskwarrior.yml
@@ -0,0 +1,10 @@
+version: '3'
+
+volumes:
+ taskwarrior_data:
+
+services:
+ taskwarrior:
+ build: $IMAGES/taskwarrior
+ volumes:
+ - taskwarrior_data:/data
diff --git a/services/znc.yml b/services/znc.yml
new file mode 100644
index 0000000..624a252
--- /dev/null
+++ b/services/znc.yml
@@ -0,0 +1,10 @@
+version: '3'
+
+volumes:
+ znc_data:
+
+services:
+ znc:
+ build: $IMAGES/znc
+ volumes:
+ - znc_data:/data