version: '3.3'
services:
lemmy:
image: {{ lemmy_docker_image }}
ports:
- "127.0.0.1:8536:8536"
restart: always
environment:
- RUST_LOG=debug
volumes:
- ./lemmy.hjson:/config/config.hjson:ro
depends_on:
- postgres
- pictshare
- iframely
postgres:
image: postgres:12-alpine
- POSTGRES_USER=lemmy
- POSTGRES_PASSWORD={{ postgres_password }}
- POSTGRES_DB=lemmy
- ./volumes/postgres:/var/lib/postgresql/data
pictshare:
image: shtripok/pictshare:latest
- "127.0.0.1:8537:80"
- ./volumes/pictshare:/usr/share/nginx/html/data
iframely:
image: dogbin/iframely:latest
- "127.0.0.1:8061:80"
- ./iframely.config.local.js:/iframely/config.local.js:ro
postfix:
image: mwader/postfix-relay
- POSTFIX_myhostname={{ domain }}
restart: "always"