Commit c65dbe5b authored by levi's avatar levi
Browse files

added compose file for all services

parent 1fc83f52
version: '3'
networks:
drobotti:
driver: bridge
services:
# ubuntu:
# container_name: ubuntu
# build:
# context: ./ubuntu-network-test
# restart: always
# # network_mode: bridge
# networks:
# - drobotti
rmq_server:
container_name: rmq-srv
build:
context: ../
dockerfile: ./docker/rmq-server/rmq_server.Dockerfile
restart: always
networks:
- drobotti
ports:
- 5672:5672
- 15672:15672
- 1883:1883
teleop_terminal:
container_name: teleop
build:
context: ../
dockerfile: ./docker/teleop-terminal/teleop_terminal.Dockerfile
restart: always
networks:
- drobotti
stdin_open: true # docker run -i
tty: true # docker run -t
rmq_publisher:
container_name: rmq-pub
build:
context: ../
dockerfile: ./docker/rmq-publisher/rmq_publisher.Dockerfile
depends_on:
- rmq_server
- teleop_terminal
restart: always
networks:
- drobotti
\ No newline at end of file
version: '3'
services:
rmq-server:
container_name: drobotti-rmq-server
build:
context: ./../../
dockerfile: ./docker/rmq-server/rmq_server.Dockerfile
restart: unless-stopped
network_mode: "host"
# ports:
# - 5672:5672
# - 15672:15672
# - 1883:1883
rmq-publisher:
container_name: drobotti-rmq-publisher
build:
context: ./../../
dockerfile: ./docker/rmq-publisher/rmq_publisher.Dockerfile
restart: unless-stopped
network_mode: "host"
# ports:
# - 5672:5672
# - 1883:1883
# links:
# - rmq-server
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment