refactor(chat): deploy Turnfold without a submodule
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
[submodule "chat/app"]
|
|
||||||
path = chat/app
|
|
||||||
url = https://github.com/liooil/turnfold.git
|
|
||||||
+6
-11
@@ -1,17 +1,12 @@
|
|||||||
# Turnfold deployment
|
# Turnfold deployment
|
||||||
|
|
||||||
The application source is maintained in the public
|
The application source is maintained independently in the public
|
||||||
[`liooil/turnfold`](https://github.com/liooil/turnfold) repository and mounted here
|
[`liooil/turnfold`](https://github.com/liooil/turnfold) repository. This
|
||||||
as the `app` Git submodule. This directory only keeps xiteng.site-specific
|
directory only keeps xiteng.site-specific deployment configuration and the
|
||||||
deployment configuration and the local provider bridge.
|
local provider bridge. The Compose build context pins an exact Turnfold commit
|
||||||
|
from GitHub; this repository intentionally does not use a Git submodule.
|
||||||
|
|
||||||
After cloning the homelab repository, initialize the application source with:
|
To deploy the pinned Turnfold revision directly from GitHub:
|
||||||
|
|
||||||
```sh
|
|
||||||
git submodule update --init chat/app
|
|
||||||
```
|
|
||||||
|
|
||||||
To deploy the pinned Turnfold revision:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
docker compose -f chat/compose.yml up -d --build
|
docker compose -f chat/compose.yml up -d --build
|
||||||
|
|||||||
-1
Submodule chat/app deleted from bb145bc747
+1
-1
@@ -85,7 +85,7 @@ services:
|
|||||||
|
|
||||||
chat:
|
chat:
|
||||||
build:
|
build:
|
||||||
context: ./app
|
context: "https://github.com/liooil/turnfold.git?ref=main&checksum=181d95fa2e55dbbe10e143921894ef0e7eda3be6"
|
||||||
args:
|
args:
|
||||||
BASE_PATH: /chat
|
BASE_PATH: /chat
|
||||||
HOME_URL: /
|
HOME_URL: /
|
||||||
|
|||||||
Reference in New Issue
Block a user