Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 927 Bytes

README.md

File metadata and controls

54 lines (41 loc) · 927 Bytes

dcron_example_app

Design Doc

design-doc

CI

Docker Image CI

Build

# swagger gen
cd app
swag init
# build
cd app
go build 
# docker build
docker build -f deployment/Dockerfile -t dcron_example_app:latest .

Run in docker compose

You can change the app.yaml volume to change the configuration.

version: '3.0'
services:
  app:
    image: dcron_example_app:latest
    scale: 3
    volumes:
      - /path/to/yourself-app.yaml:/app/etc/app.yaml
    ports:
      - 10010-10012:8080

Features

status Features
Done MySQL
TODO PostgreSQL
Done Monitor
TODO Use ETCD to run dcron
TODO Use service discovery to implement inner call.