]> Untitled Git - lemmy.git/blob - docker/dev/docker-compose.yml
51a3ecdab307bb219f23db28d61de440ebd698fd
[lemmy.git] / docker / dev / docker-compose.yml
1 version: '3.3'
2
3 services:
4
5   lemmy:
6     build: 
7       context: ../../
8       dockerfile: docker/dev/Dockerfile
9     ports:
10       - "127.0.0.1:8536:8536"
11     restart: always
12     environment:
13       - RUST_LOG=debug
14     volumes:
15       - ../lemmy.hjson:/config/config.hjson
16     depends_on: 
17       - pictrs
18       - postgres
19       - iframely
20
21   postgres:
22     image: postgres:12-alpine
23     ports:
24       - "127.0.0.1:5432:5432"
25     environment:
26       - POSTGRES_USER=lemmy
27       - POSTGRES_PASSWORD=password
28       - POSTGRES_DB=lemmy
29     volumes:
30       - ./volumes/postgres:/var/lib/postgresql/data
31     restart: always
32
33   pictrs:
34     image: asonix/pictrs:v0.1.13-r0
35     ports: 
36       - "127.0.0.1:8537:8080"
37     user: 991:991
38     volumes:
39       - ./volumes/pictrs:/mnt
40     restart: always
41
42   iframely:
43     image: dogbin/iframely:latest
44     ports:
45       - "127.0.0.1:8061:80"
46     volumes:
47       - ../iframely.config.local.js:/iframely/config.local.js:ro
48     restart: always