Add lemmy service(s).

This commit is contained in:
2021-03-15 11:41:28 -05:00
parent b794c5e8a9
commit b8c4da49d6

View File

@@ -15,6 +15,10 @@
# 8014: parsoid
# 8015: prometheus
# 8016: woodpecker
# 8017: lemmy
# 8018: lemmy-ui
# 8019: pictrs
# 8020: iframely
version: '2.4'
services:
@@ -73,7 +77,7 @@ services:
- "127.0.0.1:8004:9001"
restart: on-failure
volumes:
- ./etherpad_settings.json:/opt/etherpad-lite/settings.json
- ./etherpad/settings.json:/opt/etherpad-lite/settings.json
# hastebin.monarch-pass.net
hastebin:
@@ -313,3 +317,48 @@ services:
- irc
volumes:
- ./irc/discord:/config
lemmy:
image: dessalines/lemmy:0.9.9
ports:
- "127.0.0.1:8017:8536"
restart: always
environment:
- RUST_LOG=error
volumes:
- ./lemmy/config.hjson:/config/config.hjson
depends_on:
- postgres
- pictrs
- iframely
lemmy-ui:
image: dessalines/lemmy-ui:0.9.9
ports:
- "127.0.0.1:8018:1234"
restart: always
environment:
- LEMMY_INTERNAL_HOST=lemmy:8536
- LEMMY_EXTERNAL_HOST=namek.monarch-pass.net
- LEMMY_HTTPS=true
depends_on:
- lemmy
pictrs:
image: asonix/pictrs:v0.2.5-r0
ports:
- "127.0.0.1:8019:8080"
user: 991:991
volumes:
- ./pictrs:/mnt
restart: always
iframely:
image: dogbin/iframely:latest
ports:
- "127.0.0.1:8020:80"
volumes:
- ./iframely/config.local.js:/iframely/config.local.js:ro
restart: always
mem_limit: 200m