forked from mfrederic/realt-properties-map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 1.21 KB
/
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
services:
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: preprod-map-frontend
# ports:
# - 80:3010
environment:
# - REACT_APP_REALT_PROPERTIES_BACKEND_URL=http://localhost:3000
- REACT_APP_REALT_PROPERTIES_BACKEND_URL=https://api.realt.community/
- REACT_APP_REALT_THEGRAPH_URL=https://api.thegraph.com/subgraphs/name/realtoken-thegraph/
- REACT_APP_REALT_THEGRAPH_GNOSIS=realtoken-xdai
- REACT_APP_REALT_THEGRAPH_RMM=rmm-v3-wrapper-gnosis
volumes:
- ./frontend:/app
networks:
- traefik-realt
labels:
- "traefik.enable=true"
- "traefik.http.routers.preprod-properties-map.rule=Host(`map.preprod.realt.community`)"
- "traefik.http.routers.preprod-properties-map.entrypoints=websecure"
restart: always
# backend:
# build:
# context: ./backend
# dockerfile: Dockerfile
# container_name: preprod-map-backend
## ports:
## - 3000:3000
## - 9229:9229
# environment:
# - PORT=3000
# - CORS_ORIGIN=http://localhost
# volumes:
# - ./backend:/home/node/app
# command: [sh, -c, 'cd /home/node/app && npm run dev']
networks:
traefik-realt:
external: true