Skip to content

dxyinme/dcron_example_app

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published