]> Untitled Git - lemmy.git/blob - docker/prod/docker-compose.yml
Fixing deploy.sh
[lemmy.git] / docker / prod / docker-compose.yml
1 version: '2.2'
2
3 services:
4   postgres:
5     image: postgres:12-alpine
6     environment:
7       - POSTGRES_USER=lemmy
8       - POSTGRES_PASSWORD=password
9       - POSTGRES_DB=lemmy
10     volumes:
11       - ./volumes/postgres:/var/lib/postgresql/data
12     restart: always
13
14   lemmy:
15     image: dessalines/lemmy:v0.6.77
16     ports:
17       - "127.0.0.1:8536:8536"
18     restart: always
19     environment:
20       - RUST_LOG=error
21     volumes:
22       - ./lemmy.hjson:/config/config.hjson
23     depends_on:
24       - postgres
25       - pictshare
26       - iframely
27
28   pictshare:
29     image: hascheksolutions/pictshare:latest
30     ports:
31       - "127.0.0.1:8537:80"
32     volumes:
33       - ./volumes/pictshare:/usr/share/nginx/html/data
34     restart: always
35     mem_limit: 100m
36
37   iframely:
38     image: dogbin/iframely:latest
39     ports:
40       - "127.0.0.1:8061:80"
41     volumes:
42       - ./iframely.config.local.js:/iframely/config.local.js:ro
43     restart: always
44     mem_limit: 100m