|
1 | 1 | name: telemetry-vis-software |
2 | 2 |
|
3 | 3 | services: |
4 | | - # Reverse proxy in front of everything |
5 | | - caddy: |
6 | | - image: caddy:2.8.4 |
7 | | - restart: unless-stopped |
8 | | - ports: |
9 | | - - "80:80" |
10 | | - - "443:443" |
11 | | - - "443:443/udp" |
12 | | - volumes: |
13 | | - - caddy_data:/data |
14 | | - - caddy_config:/config |
15 | | - - ./Caddyfile:/etc/caddy/Caddyfile |
| 4 | + # Reverse proxy in front of everything |
| 5 | + caddy: |
| 6 | + image: caddy:2.8.4 |
| 7 | + restart: unless-stopped |
| 8 | + ports: |
| 9 | + - "80:80" |
| 10 | + - "443:443" |
| 11 | + - "443:443/udp" |
| 12 | + volumes: |
| 13 | + - caddy_data:/data |
| 14 | + - caddy_config:/config |
| 15 | + - ./Caddyfile:/etc/caddy/Caddyfile |
16 | 16 |
|
17 | | - # Nodejs process hosts react frontend |
18 | | - nodejs: |
19 | | - image: "${REGISTRY_URL:-}telemetry-vis-software/frontend:latest" |
20 | | - # NOTE: in order for the build to produce a working output, .env.production |
21 | | - # needs to be present in the build context dir with lcjs license information. |
22 | | - build: ./frontend |
23 | | - expose: |
24 | | - - "3000" |
| 17 | + # Nodejs process hosts react frontend |
| 18 | + nodejs: |
| 19 | + image: "${REGISTRY_URL:-}telemetry-vis-software/frontend:latest" |
| 20 | + # NOTE: in order for the build to produce a working output, .env.production |
| 21 | + # needs to be present in the build context dir with lcjs license information. |
| 22 | + build: ./frontend |
| 23 | + expose: |
| 24 | + - "3000" |
25 | 25 |
|
26 | | - # Python process runs websocket and http servers (backend) |
27 | | - python: |
28 | | - image: "${REGISTRY_URL:-}telemetry-vis-software/backend:latest" |
29 | | - build: ./backend |
30 | | - expose: |
31 | | - - "8000" |
32 | | - - "9000" |
33 | | - environment: |
34 | | - # Directory where http server will look for parquet files (recursively) |
35 | | - DATA_DIR: /data_dir |
36 | | - volumes: |
37 | | - # ./fs-data is a git submodule, optional |
38 | | - - ./fs-data/FS-2/Parquet:/data_dir/FS-2 |
| 26 | + # Python process runs websocket and http servers (backend) |
| 27 | + python: |
| 28 | + image: "${REGISTRY_URL:-}telemetry-vis-software/backend:latest" |
| 29 | + build: ./backend |
| 30 | + expose: |
| 31 | + - "8000" |
| 32 | + - "9000" |
| 33 | + environment: |
| 34 | + # Directory where http server will look for parquet files (recursively) |
| 35 | + DATA_DIR: /data_dir |
| 36 | + volumes: |
| 37 | + # ./fs-data is a git submodule, optional |
| 38 | + - ./fs-data:/data_dir |
39 | 39 |
|
40 | 40 | volumes: |
41 | | - caddy_data: |
42 | | - caddy_config: |
| 41 | + caddy_data: |
| 42 | + caddy_config: |
0 commit comments