-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
43 lines (42 loc) · 1.09 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
version: '3.1'
services:
rpi3:
container_name: rpi
restart: on-failure
user: "1000:1000"
environment:
O: build-rpi3
SIMULATION: "raspberrypi-arm64"
BUILDTYPE: "debug"
OMIT_DEPRECATED: "true"
MISSIONCONFIG: "rpi"
build:
context: ./dockerfiles
dockerfile: ubuntu18
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "2"
volumes:
- "${PWD}:/opt/cfs"
rpi1:
container_name: rpi
restart: on-failure
user: "1000:1000"
environment:
O: build-rpi1
SIMULATION: "raspberrypi-armhf"
BUILDTYPE: "debug"
OMIT_DEPRECATED: "true"
MISSIONCONFIG: "rpi"
build:
context: ./dockerfiles
dockerfile: ubuntu18
logging:
driver: "json-file"
options:
max-size: "5m"
max-file: "2"
volumes:
- "${PWD}:/opt/cfs"