Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide docker-compose.yaml example and a simple yet working example.yaml #56

Open
macbre opened this issue Jan 31, 2019 · 0 comments
Open
Milestone

Comments

@macbre
Copy link
Contributor

macbre commented Jan 31, 2019

Make example.yaml work without any credentials setup required. Use http/json source (#39) and read Wikipedia stats?

docker-compose.yaml

version: '2'
services:
  mike:
    image: macbre/mike:latest
    volumes:
      # config and dot env files
      #- ./macbre.yaml:/etc/macbre/macbre.yaml
      #- ./.env:/opt/mike/.env
    ports:
    - "5000:5000"
    environment:
    #- MIKE_CONFIG=/etc/macbre/macbre.yaml
    - DATABASE_PASSWORD=m1k4
    depends_on:
    - db
    restart: always

  # metrics storage
  db:
    image: mysql:8.0
    volumes:
      - ./datadir:/var/lib/mysql 
    environment:
    # https://hub.docker.com/_/mysql
    - MYSQL_ROOT_PASSWORD=e4e3065f12a841343997bb2bb4797fdbdc612c91
    - MYSQL_DATABASE=mike
    - MYSQL_USER=mike
    - MYSQL_PASSWORD=m1k4
@macbre macbre added this to the v0.2 milestone Jan 31, 2019
macbre added a commit that referenced this issue Feb 6, 2019
macbre added a commit that referenced this issue Feb 6, 2019
macbre added a commit that referenced this issue Feb 6, 2019
@JoannaBorun JoannaBorun modified the milestones: v0.2, v0.3 Mar 1, 2019
@macbre macbre modified the milestones: v0.3, v0.2 Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants