https://github.com/better-sre/config
config files, Dockerfiles, Taskfiles for Developers.
https://github.com/better-sre/config
awesome-taskfile docker dotfiles flutter go-task golang python rust sre taskfile
Last synced: 2 months ago
JSON representation
config files, Dockerfiles, Taskfiles for Developers.
- Host: GitHub
- URL: https://github.com/better-sre/config
- Owner: better-sre
- License: mit
- Created: 2021-09-30T11:03:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T03:00:31.000Z (2 months ago)
- Last Synced: 2025-04-23T04:19:26.195Z (2 months ago)
- Topics: awesome-taskfile, docker, dotfiles, flutter, go-task, golang, python, rust, sre, taskfile
- Language: Dockerfile
- Homepage: https://better-sre.github.io/config/
- Size: 1.18 MB
- Stars: 24
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# config
[简体中文](./README_CN.md) | [English](./README.md)
- Contains a large number of `installation/deployment` scripts that developers need to use in their daily work.
- Automatically supports `cross-platform` installation.
- Thanks to the [go-task](https://github.com/go-task/task) project.> included:
- `docker-compose`
- `dockerfile`
- `Taskfile`## How to use
### way1: by `git clone`
- `git clone`, with `--depth=1`: 只克隆最新的一个 commit
```ruby
# run:
task dl# or
tasks:
dl:
cmds:
- mkdir -p .task/
- |
git clone --depth=1 \
https://github.com/better-sre/config.git \
./.task/sre
ignore_error: true```
- add to your `Taskfile.yml`:
```yml
includes:
x:
taskfile: .task/sre/ # by git clone
dir: .
optional: true```
### way2: by `rsync`
- `rsync` mirror
```ruby
# run
task rsync# or
tasks:
# by rsync
rsync:
aliases: ["mirror", "mr"]
cmds:
- mkdir -p .task/
- |
rsync \
--exclude=".git" \
--exclude=".task" \
--exclude=".github" \
--exclude=".vscode" \
--exclude="tmp" \
--exclude="./*.*" \
--include="Taskfile.yml" \
-av \
--delete \
. ./.task/config # TODO: please set your own source path to the config dir!!!
dir: .```
- add to your `Taskfile.yml`:
```yml
includes:
x:
taskfile: .task/config/ # by rsync
dir: .
optional: true```
## Manual
- ✅ [Manual](./manual.md)
## Contents
### Docker-compose
- ✅ [docker-compose/local](docker-compose/local)
### Docker + Dockerfile
- ✅ [Dockerfile](./dockerfile)
#### Python + Ubuntu + Dockerfile
- ✅ [dockerfile/python](dockerfile/python)
```ruby
# build ubuntu + python:3.12
task df:py:b312# test container:
task df:py:t312```