-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
73 lines (66 loc) · 1.81 KB
/
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
67
68
69
70
71
72
73
services:
structurizr_live:
image: structurizr/lite
ports:
- '8080:8080'
volumes:
- "./docs/structurizr:/usr/local/structurizr:Z"
- "./docs/structurizr/uml:/usr/local/structurizr/uml:Z"
structurizr_cli:
image: structurizr/cli
ports:
- '8080:8080'
volumes:
- "./docs/structurizr:/usr/local/structurizr:Z"
command: ["export", "-workspace", "/usr/local/structurizr/workspace.dsl", "-format", "plantuml/structurizr", "-output", "/usr/local/structurizr/uml"]
# docker compose run --rm build_giraffe
build_gfs:
image: joshuajerred/gcc_10_3_arm_debian_11:latest
volumes:
- .:/project
command: "bash ./project/docker_build.sh giraffe_flight_system"
build_host_unit_test: # Pi Test
image: joshuajerred/gcc_10_3_arm_debian_11:latest
volumes:
- .:/project
command: "bash ./project/docker_build.sh unit_test_on_pi_host"
build_spi_test:
image: joshuajerred/gcc_10_3_arm_debian_11:latest
volumes:
- .:/project
command: "bash ./project/docker_build.sh spitest"
mysql:
container_name: giraffe_mysql
platform: linux/x86_64
image: mysql:5.7
volumes:
- ~/.giraffe/ggs_db/mysql:/var/lib/mysql
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: giraffe_root
MYSQL_DATABASE: giraffe_ground_station
MYSQL_PASSWORD: ggs_password
MYSQL_USER: ggs_user
networks:
- mysql-phpmyadmin
phpmyadmin:
container_name: giraffe_phpmyadmin
depends_on:
- mysql
image: phpmyadmin
restart: always
ports:
- "8090:80"
environment:
PMA_HOST: mysql
MYSQL_ROOT_PASSWORD: giraffe_root
networks:
- mysql-phpmyadmin
influx:
image: influxdb:2.7.3
ports:
- '8086:8086'
networks:
mysql-phpmyadmin: