aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/prosody/docker-compose.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-09-08 17:43:16 +0000
committerterminaldweller <thabogre@gmail.com>2021-09-08 17:43:16 +0000
commitd8df67fba0f188039b4cc273788d73b1df7aae59 (patch)
treed3d3fc0bdfc65930fba4678262910316a182be29 /terminaldweller.com/prosody/docker-compose.yaml
parentremoved path from tmux, added short path to shell prompt. removed exa, using ... (diff)
downloadscripts-d8df67fba0f188039b4cc273788d73b1df7aae59.tar.gz
scripts-d8df67fba0f188039b4cc273788d73b1df7aae59.zip
update
Diffstat (limited to 'terminaldweller.com/prosody/docker-compose.yaml')
-rw-r--r--terminaldweller.com/prosody/docker-compose.yaml40
1 files changed, 40 insertions, 0 deletions
diff --git a/terminaldweller.com/prosody/docker-compose.yaml b/terminaldweller.com/prosody/docker-compose.yaml
new file mode 100644
index 0000000..3641974
--- /dev/null
+++ b/terminaldweller.com/prosody/docker-compose.yaml
@@ -0,0 +1,40 @@
+version: "3.4"
+services:
+ postgres:
+ image: postgres:alpine3.14
+ ports:
+ "127.0.0.1:5432:5432"
+ volumes:
+ - postgresdata:/var/lib/postgresql/data/prosody
+ networks:
+ - xmppnet
+ cap_drop:
+ - ALL
+ prosody:
+ image: prosody/prosody:0.11.9
+ restart: unless-stopped
+ ports:
+ - "5080:80/tcp"
+ - "5222:5222/tcp"
+ - "5280:5280/tcp"
+ - "5281:5281/tcp"
+ - "5347:5347/tcp"
+ - "5582:5582/tcp"
+ volumes:
+ - ./config/prosody.cfg.lua:/etc/prosody:ro
+ - ./log:/var/log/prosody
+ - ./modules:/usr/lib/prosody-modules
+ environment:
+ - LOCAL=chat
+ - DOMAIN=terminaldweller.com
+ - PASSWORD=letstryxmpp
+ networks:
+ - xmppnet
+ cap_add:
+ cap_drop:
+ - ALL
+networks:
+ xmppnet:
+ driver: bridge
+volumes:
+ postgresdata: