]> Untitled Git - lemmy.git/blob - docker/dev/docker-compose.yml
Merge branch 'master' into iav-arm-musl-dessalines
[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     environment:
24       - POSTGRES_USER=lemmy
25       - POSTGRES_PASSWORD=password
26       - POSTGRES_DB=lemmy
27     volumes:
28       - ./volumes/postgres:/var/lib/postgresql/data
29     restart: always
30
31   pictrs:
32     image: asonix/pictrs:v0.1.13-r0
33     ports: 
34       - "127.0.0.1:8537:8080"
35     user: 991:991
36     volumes:
37       - ./volumes/pictrs:/mnt
38     restart: always
39
40   iframely:
41     image: dogbin/iframely:latest
42     ports:
43       - "127.0.0.1:8061:80"
44     volumes:
45       - ../iframely.config.local.js:/iframely/config.local.js:ro
46     restart: always