Commit f6ce5ac0 authored by Manuel Christlieb's avatar Manuel Christlieb
Browse files

git init

parents
Loading
Loading
Loading
Loading

build/Taskfile

0 → 100644
+18 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

task:install() {
    docker:install
}

task:update() {
    docker:update
}

task:run() {
    docker:docker-compose up "$@"
}

task:halt() {
    docker:docker-compose down "$@"
}

build/config.yml

0 → 100644
+10 −0
Original line number Diff line number Diff line
# This is the central configuration for all tools we use/execute. It is parsed inside
# the Taskfile, too. See $CONFIG_application_web_path for example.
project:
  name: Docker MongoDB Setup
  key: local_mongodb
paths:
modules:
  docker:
    docker_compose_config_overrides:
      - localhost
+6 −0
Original line number Diff line number Diff line
version: '3'

services:
  mongodb:
    ports:
      - "27017:27017"
+11 −0
Original line number Diff line number Diff line
version: '3'

services:
  mongo:
    image: mongo
    restart: always
    volumes:
      - mongodbdata:/data/db

volumes:
  mongodbdata: