aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/gitter-irc
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/gitter-irc')
-rw-r--r--terminaldweller.com/gitter-irc/Dockerfile7
-rw-r--r--terminaldweller.com/gitter-irc/docker-compose.yaml21
2 files changed, 28 insertions, 0 deletions
diff --git a/terminaldweller.com/gitter-irc/Dockerfile b/terminaldweller.com/gitter-irc/Dockerfile
new file mode 100644
index 0000000..174d8de
--- /dev/null
+++ b/terminaldweller.com/gitter-irc/Dockerfile
@@ -0,0 +1,7 @@
+FROM node:lts-alpine3.17
+RUN apk update \
+ && apk add git \
+ && git clone https://gitlab.com/gitterHQ/irc-bridge \
+ && cd irc-bridge \
+ && npm install
+WORKDIR /irc-bridge
diff --git a/terminaldweller.com/gitter-irc/docker-compose.yaml b/terminaldweller.com/gitter-irc/docker-compose.yaml
new file mode 100644
index 0000000..ddc704b
--- /dev/null
+++ b/terminaldweller.com/gitter-irc/docker-compose.yaml
@@ -0,0 +1,21 @@
+version: "3"
+services:
+ irc-gitter:
+ image: irc-gitter
+ build:
+ context: .
+ networks:
+ - ircgitternet
+ ports:
+ - "127.0.0.1:5667:6667"
+ restart: unless-stopped
+ entrypoint: ["npm", "start"]
+ cap_drop:
+ - ALL
+ cap_add:
+ - CHOWN
+ - SETGID
+ - SETUID
+networks:
+ ircgitternet:
+