diff options
author | System administrator | 2017-05-29 13:26:10 +0200 |
---|---|---|
committer | System administrator | 2017-05-29 13:26:10 +0200 |
commit | bc5c44dd049bad3b007be48b3f8d90886d63c105 (patch) | |
tree | a381d989db2295f228f9bc95a774f0cc9aef4c40 /services | |
download | server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.gz server-bc5c44dd049bad3b007be48b3f8d90886d63c105.tar.xz server-bc5c44dd049bad3b007be48b3f8d90886d63c105.zip |
Initial commit
Diffstat (limited to 'services')
-rw-r--r-- | services/git.yml | 15 | ||||
-rw-r--r-- | services/paste.yml | 12 | ||||
-rw-r--r-- | services/router.yml | 21 | ||||
-rw-r--r-- | services/runit-edge.yml | 6 | ||||
-rw-r--r-- | services/runit.yml | 6 | ||||
-rw-r--r-- | services/taskwarrior.yml | 10 | ||||
-rw-r--r-- | services/znc.yml | 10 |
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 |