-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.base.yml
46 lines (45 loc) · 1.06 KB
/
docker-compose.base.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
---
version: v3
services:
pagemail:
restart: always
expose:
- 80
environment:
PM_APP_HOST: 0.0.0.0:80
PM_DB_PATH: /data/db/pagemail.sqlite3
PM_APP_COOKIE_KEY_FILE: /run/secrets/cookie-key
PM_READABILITY_SCHEME: http
PM_READABILITY_HOST: readability:80
PM_AWS_PROFILE: pagemail
PM_AWS_CONFIG_FILE: /run/secrets/aws-config
PM_AWS_CREDENTIALS_FILE: /run/secrets/aws-credentials
logging:
driver: awslogs
options:
awslogs-region: eu-west-2
networks:
- traefik
platform: linux/amd64
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_proxy"
readability:
restart: always
environment:
RDR_PORT: 80
RDR_BUCKET_NAME: pagemail-readability
expose:
- 80
networks:
- readability
logging:
driver: awslogs
options:
awslogs-region: eu-west-2
healthcheck:
test: ["CMD", "curl", "http://localhost:80/health"]
interval: 10s
timeout: 2s
retries: 0
start_period: 10s