-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (41 loc) · 973 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
40
41
version: '3'
services:
ros_core:
container_name: ros_core
build: docker_files/ros_core
image: uva/ros_core
command: roscore
pepper:
container_name: pepper_devel
build: docker_files/pepper
image: uva/pepper
volumes:
- .:/root
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=unix${DISPLAY}
network_mode: "host"
command: bash -c "echo cd >> /root/.bashrc && tail -F /dev/null"
mysql:
container_name: mysql
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=root
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin/phpmyadmin
ports:
- "8080:80"
links:
- mysql:db
ros_storage:
container_name: ros_storage
build: src/ros_storage
image: uva/ros_storage
environment:
- "ROS_MASTER_URI=http://ros_core:11311"
- MYSQL_SERVER=mysql
command: bash -c "echo cd >> /root/.bashrc && tail -F /dev/null"
links:
- ros_core
- mysql