]> Untitled Git - lemmy.git/blob - docker/prod/docker-compose.yml
Version v0.7.6
[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.7.6
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       - pictrs
26       - iframely
27
28   pictrs:
29     image: asonix/pictrs:v0.1.13-r0
30     ports: 
31       - "127.0.0.1:8537:8080"
32     user: 991:991
33     volumes:
34       - ./volumes/pictrs:/mnt
35     restart: always
36
37   iframely:
38     image: jolt/iframely:v1.4.3
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