]> Untitled Git - lemmy.git/blob - docker/dev/docker-compose.yml
update documentation, docker and ansible files
[lemmy.git] / docker / dev / docker-compose.yml
1 version: '3.3'
2
3 services:
4   lemmy_db:
5     image: postgres:12-alpine
6     environment:
7       - POSTGRES_USER=lemmy
8       - POSTGRES_PASSWORD=${LEMMY_DATABASE_PASSWORD}
9       - POSTGRES_DB=lemmy
10     volumes:
11       - lemmy_db:/var/lib/postgresql/data
12     restart: always
13   lemmy:
14     build: 
15       context: ../../
16       dockerfile: docker/dev/Dockerfile
17     ports:
18       - "127.0.0.1:8536:8536"
19     env_file:
20       - .env
21     restart: always
22     volumes:
23       - ./config/config.hjson:/config/config.hjson:ro
24     depends_on: 
25       - lemmy_db
26   lemmy_pictshare:
27     image: shtripok/pictshare:latest
28     ports:
29       - "127.0.0.1:8537:80"
30     volumes:
31       - lemmy_pictshare:/usr/share/nginx/html/data
32     restart: always
33 volumes:
34   lemmy_db:
35   lemmy_pictshare: