forked from stationmoney/station
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
66 lines (58 loc) · 1.47 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: '3.9'
###############################################################################
services:
haproxy:
image: haproxy:2.8.0-alpine
volumes:
- ./docker-assets/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
networks:
- default
ports:
- '1317:1317'
- '8444:8444'
localterra:
image: ghcr.io/terra-money/localterra:${TERRA_VERSION:-latest}
platform: linux/amd64
hostname: terrad
volumes:
- terra:/app
networks:
- default
assets:
image: ghcr.io/terra-money/station-assets:1.0.1
hostname: assets
networks:
- default
ports:
- '3001:3001'
station:
build:
context: ./
dockerfile: Dockerfile
target: reloader
args:
REACT_APP_ASSETS: http://localhost:3001
REACT_APP_STATION_ASSETS: http://localhost:3001
image: ghcr.io/terra-money/station:localhr
networks:
- default
ports:
- '3000:3000'
# To enable/disable hot reload in station
# comment/uncomment the build `target` above and
# comment/uncomment the following lines below
command: >
/bin/sh -c "
echo 'Development server will take 2-3min to start up.' && \
exec npm run start"
environment:
NODE_ENV: "development"
HTTPS: "false"
volumes:
- ./:/app/dev
- /app/dev/node_modules
###############################################################################
volumes:
terra:
networks:
default: