docker-compose.dev.yml 1.21 KB
Newer Older
1
version: "3.7"
Quoc Huy Nguyen Dinh's avatar
Quoc Huy Nguyen Dinh committed
2
services:
3
4
5
6
7
    condenser:
        build:
            context: .
            target: development
        container_name: condenser
8
        ports:
9
10
11
            - 80:8080
            - 8080:8080
            - 35729:35729
12
        environment:
13
14
            SDC_CLIENT_STEEMD_URL: https://api.hive.blog
            SDC_SERVER_STEEMD_URL: https://api.hive.blog
15

16
17
18
            # add to your /etc/hosts
            # 127.0.0.1     hiveblog.local
            SDC_SITE_DOMAIN: hiveblog.local
19

20
21
            SDC_IMAGE_PROXY_PREFIX: https://images.hive.blog/
            SDC_UPLOAD_IMAGE_URL: https://images.hive.blog
Quoc Huy Nguyen Dinh's avatar
Quoc Huy Nguyen Dinh committed
22
23
            SDC_HELMET_CONNECTSRC: "'self' http://hiveblog.local https://api.hive.blog https://images.hive.blog https://www.reddit.com *.ibytedtos.com"
            SDC_HELMET_STYLESRC: "'self' 'unsafe-inline' fonts.googleapis.com platform.twitter.com www.reddit.com cdn.embedly.com *.tiktokcdn.com"
24
            SDC_HELMET_FONTSRC: "data: fonts.gstatic.com cdn.embedly.com"
25
        volumes:
26
27
28
29
30
            - ./yarn.lock:/var/app/yarn.lock
            - ./package.json:/var/app/package.json
            - ./src:/var/app/src:delegated
            - ./webpack:/var/app/webpack:delegated
            - ./config:/var/app/config:delegated