it-infra
所属分类:人工智能/神经网络/深度学习
开发工具:Jinja
文件大小:0KB
下载次数:0
上传日期:2023-11-24 22:20:19
上 传 者:
sh-1993
说明: LCC数据中心的配置。
(Configs for the LCC data-centre.)
文件列表:
.ansible-lint (53, 2023-11-30)
.vscode/ (0, 2023-11-30)
.vscode/settings.json (53, 2023-11-30)
LICENSE (1106, 2023-11-30)
client-setup.sh (362, 2023-11-30)
containers/ (0, 2023-11-30)
containers/games/ (0, 2023-11-30)
containers/games/down.playbook.yml (194, 2023-11-30)
containers/games/files/ (0, 2023-11-30)
containers/games/files/compose.yml.j2 (455, 2023-11-30)
containers/games/files/minecraft-dockerfile.j2 (358, 2023-11-30)
containers/games/files/minecraft/ (0, 2023-11-30)
containers/games/files/minecraft/bukkit.yml.j2 (697, 2023-11-30)
containers/games/files/minecraft/config/ (0, 2023-11-30)
containers/games/files/minecraft/config/paper-global.yml.j2 (3109, 2023-11-30)
containers/games/files/minecraft/config/paper-world-defaults.yml.j2 (6583, 2023-11-30)
containers/games/files/minecraft/eula.txt.j2 (47, 2023-11-30)
containers/games/files/minecraft/plugins/ (0, 2023-11-30)
containers/games/files/minecraft/plugins/Geyser-Spigot/ (0, 2023-11-30)
containers/games/files/minecraft/plugins/Geyser-Spigot/config.yml.j2 (12845, 2023-11-30)
containers/games/files/minecraft/server.properties.j2 (1213, 2023-11-30)
containers/games/files/minecraft/spigot.yml.j2 (4199, 2023-11-30)
containers/games/setup.playbook.yml (10198, 2023-11-30)
containers/games/up.playbook.yml (188, 2023-11-30)
containers/games/update.playbook.yml (3292, 2023-11-30)
containers/git/ (0, 2023-11-30)
containers/git/down.playbook.yml (188, 2023-11-30)
containers/git/files/ (0, 2023-11-30)
containers/git/files/compose.yml.j2 (765, 2023-11-30)
containers/git/setup.playbook.yml (2234, 2023-11-30)
containers/git/up.playbook.yml (182, 2023-11-30)
containers/git/update.playbook.yml (520, 2023-11-30)
containers/oldsite/ (0, 2023-11-30)
containers/oldsite/down.playbook.yml (201, 2023-11-30)
containers/oldsite/files/ (0, 2023-11-30)
containers/oldsite/files/compose.yml.j2 (816, 2023-11-30)
containers/oldsite/setup.playbook.yml (2650, 2023-11-30)
containers/oldsite/up.playbook.yml (195, 2023-11-30)
... ...
# I.T. Infra 2 - Electric Boogaloo
Something-something-server-configs.
Currently done:
- `website`
- `git`
- `games`
- `reverseproxy`
## Setup
### Container setup
Run `wget -O - "https://raw.githubusercontent.com/reboot-codes/it-infra/master/client-setup.sh" | ash` on every container
### Host setup
Assuming your containers are setup correctly... Make a copy of `./default.vars.yml`, name it `./vars.yml`, and fill it out. Then run `./setup.sh`.
## Updates
After pulling the latest version of this repository, check `./default.vars.yml` against `./vars.yml`, update with any missing fields, then run `update.sh`.
## Maintenance
### Service Down
Run the following, replacing `$service` with the name of the service you'd like to bring down.
```bash
ansible-playbook ./containers/$service/down.playbook.yml --vars "@./vars.yml"
```
### All Services Down
Run `down.sh`.
### Service Up
Run the following, replacing `$service` with the name of the service you'd like to bring up.
```bash
ansible-playbook ./containers/$service/up.playbook.yml --vars "@./vars.yml"
```
### All Services Up
Run `up.sh`.
近期下载者:
相关文件:
收藏者: