百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

make-my-server

> 前端框架
开源

(DockerH) (英语). 与 Traefik 和很多服务组成

590 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

(DockerH) (英语). 与 Traefik 和很多服务组成

Server configuration

Your (my) own server configuration, managed by docker-compose, with comprehensive default configuration.

Setup

IF you are using [docker compose version /dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') $@ }


### Run
```bash
SITE=tom.moulard.org docker-compose up -d

Now you have your own server configuration.

To be a little more consistent with the management, you can use a .env file and do:

bash
cp .env.default .env

And edit the .env file to use the correct configuration.

The docker-compose function gather all docker-compose files in order to have the whole configuration in one place (see docker-compose config).

Tear down

bash
docker-compose down

Services list

There should be only one service by folder: For example, le folder traefik/ contains all the necessary configuration to run the traefik service.

Thus each folder represent an available service.

The directory must follow the following architecture:

service/
├── conf
│   └── ...
├── data
│   └── ...
├── docker-compose.servicename.yml
├── logs
│   ├── access.log
│   └── error.log
└── README.md

…

bash
echo "USERS=$(htpasswd -nB $USER)" >> .env

You can add a new set of credentials by editing the .env file like

env
USERS=toto:pass,tata:pass, ...

The .env.default is generated using this command:

bash
grep '${' **/docker-compose.*.yml | sed "s/.*\${\(.*\)}.*/\1/g" | cut -d":" -f 1 | sort -u | sort | xargs -I % echo "%=" >> .env.default

For local developments

Edit the file /etc/hosts to provide the reverse proxy with good URLs.

For example, adding this in your /etc/hosts will allow to run and debug the Traefik service locally:

bash
127.0.0.1   traefik.moulard.org

Scaling up

bash
docker-compose scale nginx=2

Tests

Lint

! Warning: This is enforced for all PRs.

We are using yamllint to lint our yaml files. You can install it by looking at the official documentation.

Once installed, you can run the following command to lint all the yaml files:

bash
yamllint .

docker-compose config

! Warning: This is enforced for all PRs.

You can run the following command to check that the docker-compose files are correctly written:

bash
./test.sh

It tests that:

  • all docker-compose files are valid
  • all docker-compose files are parsable
  • all docker-compose files are consistent with the test_config.yml file
  • all environment variables are set inside the .env.default file

Once this shell scritp is run, if the tests failes, you can see a bunch of modified files (e.g., test_config.yml) that indicates what is wrong.

Note that the GitHub Action will run this script for you, and provides a patch.patch file that should solve most of your issues.

Authors

Main author:

  • Tom

Gitlab helper:

  • michel_k

Discord MusicBot/minecraft:

  • huvell_m, see PR #6

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubybitwardendockerdocker-composeelk

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架