2020-01-28 16:38:23 +00:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
lemmy:
|
2020-01-31 11:03:26 +00:00
|
|
|
image: {{ lemmy_docker_image }}
|
2020-01-28 16:38:23 +00:00
|
|
|
ports:
|
2020-03-10 23:22:34 +00:00
|
|
|
- "127.0.0.1:{{ lemmy_port }}:8536"
|
2020-01-28 16:38:23 +00:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./lemmy.hjson:/config/config.hjson:ro
|
|
|
|
depends_on:
|
2020-03-09 16:50:28 +00:00
|
|
|
- postgres
|
|
|
|
- pictshare
|
|
|
|
- iframely
|
2020-01-28 16:38:23 +00:00
|
|
|
|
2020-03-09 16:50:28 +00:00
|
|
|
postgres:
|
2020-01-28 16:38:23 +00:00
|
|
|
image: postgres:12-alpine
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=lemmy
|
|
|
|
- POSTGRES_PASSWORD={{ postgres_password }}
|
|
|
|
- POSTGRES_DB=lemmy
|
|
|
|
volumes:
|
2020-03-09 16:50:28 +00:00
|
|
|
- ./volumes/postgres:/var/lib/postgresql/data
|
2020-01-28 16:38:23 +00:00
|
|
|
restart: always
|
|
|
|
|
2020-03-09 16:50:28 +00:00
|
|
|
pictshare:
|
2020-01-28 16:38:23 +00:00
|
|
|
image: shtripok/pictshare:latest
|
|
|
|
ports:
|
2020-03-10 23:22:34 +00:00
|
|
|
- "127.0.0.1:{{ pictshare_port }}:80"
|
2020-01-28 16:38:23 +00:00
|
|
|
volumes:
|
2020-03-09 16:50:28 +00:00
|
|
|
- ./volumes/pictshare:/usr/share/nginx/html/data
|
2020-01-28 16:38:23 +00:00
|
|
|
restart: always
|
|
|
|
|
2020-03-09 16:50:28 +00:00
|
|
|
iframely:
|
2020-02-17 16:18:01 +00:00
|
|
|
image: dogbin/iframely:latest
|
|
|
|
ports:
|
2020-03-10 23:22:34 +00:00
|
|
|
- "127.0.0.1:{{ iframely_port }}:80"
|
2020-02-17 16:18:01 +00:00
|
|
|
volumes:
|
|
|
|
- ./iframely.config.local.js:/iframely/config.local.js:ro
|
|
|
|
restart: always
|
|
|
|
|
2020-01-31 11:03:26 +00:00
|
|
|
postfix:
|
|
|
|
image: mwader/postfix-relay
|
|
|
|
environment:
|
|
|
|
- POSTFIX_myhostname={{ domain }}
|
2020-03-09 16:50:28 +00:00
|
|
|
restart: "always"
|