~mser/d2-holy-grail-docker

d2-holy-grail-docker/stack.example.yml -rw-r--r-- 333 bytes
e6f4df57Michael Serajnik Import project 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: '3'

services:

  db:
    image: mongo
    volumes:
      - data:/data/db

  app:
    image: mserajnik/d2-holy-grail
    depends_on:
      - db
    ports:
      - '5000:5000'
    environment:
      - PORT=5000
      - DB_URI=mongodb://db/HolyGrail
      - WAIT_HOSTS=db:27017
      - WAIT_HOSTS_TIMEOUT=60

volumes:
  data: