]> Untitled Git - lemmy.git/blob - docker/dev/docker-compose.yml
Adding delete picture via pict-rs delete tokens. Fixes #505
[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       - postgres
18       - iframely
19
20   postgres:
21     image: postgres:12-alpine
22     environment:
23       - POSTGRES_USER=lemmy
24       - POSTGRES_PASSWORD=password
25       - POSTGRES_DB=lemmy
26     volumes:
27       - ./volumes/postgres:/var/lib/postgresql/data
28     restart: always
29
30   pictrs:
31     image: asonix/pictrs:v0.1.3-r1
32     ports: 
33       - "127.0.0.1:8537:8080"
34     user: 991:991
35     volumes:
36       - ./volumes/pictrs:/mnt
37     restart: always
38
39   iframely:
40     image: dogbin/iframely:latest
41     ports:
42       - "127.0.0.1:8061:80"
43     volumes:
44       - ../iframely.config.local.js:/iframely/config.local.js:ro
45     restart: always