~mser/d2-holy-grail-docker

ref: HEAD d2-holy-grail-docker/docker-compose.example.yml -rw-r--r-- 389 bytes
e6f4df57Michael Serajnik Import project a month ago
                                                                                
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
version: '3'

services:

  db:
    image: mongo
    restart: unless-stopped
    volumes:
      - data:/data/db

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

volumes:
  data: