summaryrefslogtreecommitdiffstats
path: root/docker/dev/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/dev/docker-compose.yml')
-rw-r--r--docker/dev/docker-compose.yml34
1 files changed, 18 insertions, 16 deletions
diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml
index 3fc94099..bdcb4308 100644
--- a/docker/dev/docker-compose.yml
+++ b/docker/dev/docker-compose.yml
@@ -1,15 +1,6 @@
version: '3.3'
services:
- postgres:
- image: postgres:12-alpine
- environment:
- - POSTGRES_USER=lemmy
- - POSTGRES_PASSWORD=password
- - POSTGRES_DB=lemmy
- volumes:
- - ./volumes/postgres:/var/lib/postgresql/data
- restart: always
lemmy:
build:
@@ -22,17 +13,28 @@ services:
- RUST_LOG=debug
volumes:
- ../lemmy.hjson:/config/config.hjson
- depends_on:
+ depends_on:
+ - pictrs
- postgres
- - pictshare
- iframely
- pictshare:
- image: hascheksolutions/pictshare:latest
- ports:
- - "127.0.0.1:8537:80"
+ postgres:
+ image: postgres:12-alpine
+ environment:
+ - POSTGRES_USER=lemmy
+ - POSTGRES_PASSWORD=password
+ - POSTGRES_DB=lemmy
+ volumes:
+ - ./volumes/postgres:/var/lib/postgresql/data
+ restart: always
+
+ pictrs:
+ image: asonix/pictrs:v0.1.13-r0
+ ports:
+ - "127.0.0.1:8537:8080"
+ user: 991:991
volumes:
- - ./volumes/pictshare:/usr/share/nginx/html/data
+ - ./volumes/pictrs:/mnt
restart: always
iframely: