From bc5c44dd049bad3b007be48b3f8d90886d63c105 Mon Sep 17 00:00:00 2001 From: System administrator Date: Mon, 29 May 2017 13:26:10 +0200 Subject: Initial commit --- services/git.yml | 15 +++++++++++++++ services/paste.yml | 12 ++++++++++++ services/router.yml | 21 +++++++++++++++++++++ services/runit-edge.yml | 6 ++++++ services/runit.yml | 6 ++++++ services/taskwarrior.yml | 10 ++++++++++ services/znc.yml | 10 ++++++++++ 7 files changed, 80 insertions(+) create mode 100644 services/git.yml create mode 100644 services/paste.yml create mode 100644 services/router.yml create mode 100644 services/runit-edge.yml create mode 100644 services/runit.yml create mode 100644 services/taskwarrior.yml create mode 100644 services/znc.yml (limited to 'services') 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 -- cgit v1.2.3