forked from melodylylin/px4-gz-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·39 lines (35 loc) · 946 Bytes
/
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
version: "3.9"
volumes:
# remembers gz config, downloaded models etc
gz_config:
services:
px4_gz_docker:
environment:
- HOST_UID=${HOST_UID}
- HOST_GID=${HOST_GID}
- DISPLAY=$DISPLAY
- RUN_VNC=false
- SSH_AUTH_SOCK=${SSH_AUTH_SOCK}
- PX4_GZ_WORLD=AbuDhabi
- PX4_HOME_LAT=24.484043629238872
- PX4_HOME_LON=54.36068616768677
- PX4_HOME_ALT=0
- ROS_DOMAIN_ID=1
- PX4_MICRODDS_NS=px4_1
image: px4_gz_docker
build:
dockerfile: Dockerfile
tty: true
stdin_open: true
privileged: true
hostname: px4_gz_docker
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
volumes:
- ./work:/home/user/work
- gz_config:/home/user/.gz
- /tmp/.X11-unix:/tmp/.X11-unix
- ${SSH_AUTH_SOCK}:${SSH_AUTH_SOCK}
- $HOME/gnupg:/home/user/.gnupg
- $HOME/.ssh:/home/user/.ssh
- $HOME/.gitconfig:/home/user/.gitconfig