This article assumes that you have the following:
Login in Docker against Planning Poker Docker Registry and enter your credentials
docker login docker.lizzybrain.com |
Copy the following file and name it docker-compose.yml
Feel free to change the ports 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: jpp image: docker.lizzybrain.com/jpp:v2 restart: always ports: ["3005:3005"] links: [mongo] depends_on: [mongo] |
Run docker-compose (optionally pass -d flag to run it as service)
docker-compose up -d |