/
/
/
Top level project for the bag recorder project that adds the frontend and backend together.
1services:
2 bag-recorder-backend:
3 image: rakys.xyz/docker/bag-recorder-backend:latest
4 container_name: bag-recorder-backend
5 ports:
6 - "8080:8080"
7 networks:
8 - ros_network
9 healthcheck:
10 test: ["CMD", "curl", "-f", "http://localhost:8080/api/status"]
11 interval: 30s
12 timeout: 10s
13 retries: 3
14
15 # Frontend
16 bag-recorder-frontend:
17 image: rakys.xyz/docker/bag-recorder-frontend:latest
18 container_name: bag-recorder-frontend
19 ports:
20 - "80:80"
21 networks:
22 - ros_network
23 depends_on:
24 bag-recorder-backend:
25 condition: service_healthy
26 environment:
27 - BACKEND_URL=http://bag-recorder-backend:8080
28
29networks:
30 ros_network:
31 driver: bridge
32