# swagger gen
cd app
swag init
# build
cd app
go build
# docker build
docker build -f deployment/Dockerfile -t dcron_example_app:latest .
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
status | Features |
---|---|
Done | MySQL |
TODO | PostgreSQL |
Done | Monitor |
TODO | Use ETCD to run dcron |
TODO | Use service discovery to implement inner call. |