Skip to content

Repository files navigation

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.

About

an example application for dcron

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages