-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (44 loc) · 932 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: '3.6'
services:
postgres:
image: postgres:${POSTGRES_VER}
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- pleroma
web:
build:
context: ./
args:
PLEROMA_VER: ${PLEROMA_VER}
image: pleroma:${PLEROMA_VER}
volumes:
- pleroma-uploads:/pleroma/uploads
- ./config/config.exs:/etc/pleroma/config.exs
- ./config/prod.secret.exs:/etc/pleroma/prod.secret.exs
depends_on:
- postgres
networks:
- pleroma
healthcheck:
start_period: 30s
ports:
- 4000:4000
adminer:
image: adminer
networks:
- pleroma
ports:
- 8080:8080
volumes:
postgres-data:
driver: local
pleroma-uploads:
driver: local
networks:
pleroma:
driver: bridge