-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathdocker-compose.prod.yml
43 lines (42 loc) · 1.71 KB
/
docker-compose.prod.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
version: "3.7"
services:
condenser:
image: hiveio/condenser:latest
deploy:
mode: replicated
replicas: 4
resources:
limits:
cpus: "0.9"
memory: 2048M
restart_policy:
condition: any
delay: 5s
update_config:
parallelism: 1
delay: 10s
failure_action: rollback
order: start-first
rollback_config:
parallelism: 1
delay: 5s
environment:
VIRTUAL_HOST: hive.blog
VIRTUAL_PORT: 8080
DISABLE_CLUSTERING: true
SDC_CLIENT_STEEMD_URL: https://api.hive.blog
SDC_SERVER_STEEMD_URL: https://api.hive.blog
SDC_SITE_DOMAIN: hive.blog
SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/
SDC_UPLOAD_IMAGE_URL: https://images.hive.blog
SDC_ALT_API_ENDPOINTS: "https://api.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com"
SDC_HELMET_CONNECTSRC: "'self' hive.blog https://hive.blog https://images.hive.blog https://api.hive.blog https://anyx.io https://api.openhive.network https://api.hivekings.com https://hivebuzz.me https://peakd.com https://www.reddit.com"
SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com"
SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com"
WALLET_URL: https://wallet.hive.blog
networks:
- reverse-proxy
networks:
reverse-proxy:
external:
name: reverse-proxy