-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (40 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
46 lines (40 loc) · 879 Bytes
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
version: '2'
services:
main:
image: puffinrocks/ttrss:latest
depends_on:
- db
ports:
- 80
environment:
- VIRTUAL_HOST
- VIRTUAL_PORT=80
- DB_HOST=db
- DB_PORT=5432
- LETSENCRYPT_HOST
- LETSENCRYPT_EMAIL
- LETSENCRYPT_TEST
networks:
- front
- back
- default
tmpfs:
- /run
- /tmp
db:
image: postgres
environment:
- POSTGRES_DB=ttrss
- POSTGRES_USER=ttrss
- POSTGRES_PASSWORD=ttrss
volumes:
- db_data:/var/lib/postgresql/data
volumes:
db_data:
networks:
front:
external:
name: "puffin_front"
back:
external:
name: "puffin_back"