This article assumes that you pass the following requirements:
Login in Docker against Agile Retrospectives Docker Registry
docker login docker.lizzybrain.com |
Copy the following file and name it docker-compose.yml
Feel free to change the port mapping if needed
version: "3" services: mongo: container_name: mongo image: mongo:3.6.9 volumes: ["./_app_data:/data/db"] ports: ["127.0.0.1:27017:27017"] restart: always app: container_name: jr image: docker.lizzybrain.com/jre:v1 restart: always ports: ["3005:3005"] links: [mongo] depends_on: [mongo] |
Run docker-compose (pass -d flag to run it as service)
docker-compose up -d |