https://github.com/hiroxto/home-server-infrastructure
自宅サーバー周りのインフラ
https://github.com/hiroxto/home-server-infrastructure
Last synced: over 1 year ago
JSON representation
自宅サーバー周りのインフラ
- Host: GitHub
- URL: https://github.com/hiroxto/home-server-infrastructure
- Owner: hiroxto
- Created: 2024-04-22T15:30:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-22T02:06:06.000Z (over 1 year ago)
- Last Synced: 2025-01-22T03:18:52.884Z (over 1 year ago)
- Homepage:
- Size: 210 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# home-server-infrastructure
自宅サーバーのインフラ。
## セットアップ
### Taskfileのインストール
タスクランナーに[Taskfile](https://taskfile.dev/)を使っているため,予めインストールする。
### コンテナの設定
`$ task init`を実行すると`.env`の設定とDockerコンテナのビルドが行われる。
`.env`に必要な内容を設定する。
## 使い方
### サービスの起動
`$ task up`で全サービスが起動する。
### サービスの停止
`$ task down`で全サービスが停止する。
### サービスの再起動
`$ task restart`で全サービスが再起動する。
### サービスの状態の確認
`$ task ps`でサービスの状態を表示する。
### サービスのログの表示
`$ task logs`でサービスのログを表示する。